summaryrefslogtreecommitdiff
path: root/libre/ghostscript-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-09 08:35:32 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-09 08:35:32 -0200
commite7e309ce54a7d794b046519d4f51e2710862628c (patch)
tree0b93df9078be0b3fac7a6a52c159a7f4e2034a18 /libre/ghostscript-libre/PKGBUILD
parentf963d4177b44d68218017288267f3e2d5f81315c (diff)
downloadabslibre-e7e309ce54a7d794b046519d4f51e2710862628c.tar.gz
abslibre-e7e309ce54a7d794b046519d4f51e2710862628c.tar.bz2
abslibre-e7e309ce54a7d794b046519d4f51e2710862628c.zip
ghostscript-libre: add mksource
Diffstat (limited to 'libre/ghostscript-libre/PKGBUILD')
-rw-r--r--libre/ghostscript-libre/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/libre/ghostscript-libre/PKGBUILD b/libre/ghostscript-libre/PKGBUILD
index 4db0709fc..bb2428b75 100644
--- a/libre/ghostscript-libre/PKGBUILD
+++ b/libre/ghostscript-libre/PKGBUILD
@@ -21,17 +21,23 @@ conflicts=('ghostscript')
replaces=('ghostscript')
provides=("ghostscript=$pkgver")
url="http://www.ghostscript.com/"
-source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2)
+mksource=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2)
+source=(https://repo.parabolagnulinux.org/sources/ghostscript-libre-${pkgver}.tar.bz2)
options=('!libtool' '!makeflags')
-md5sums=('7179bb1ed4f6f453147e6f7e1f210ce8')
+mkmd5sums=('7179bb1ed4f6f453147e6f7e1f210ce8')
+md5sums=('c9f6ffec6a07e06caba394d7ebdbbe9a')
-build() {
+mksource() {
cd ghostscript-${pkgver}
-
+
# delete nonfree files
grep -l "are not altered" Resource/CMap/* | xargs rm -fv
grep -l "not be copied" Resource/CMap/* | xargs rm -fv
+}
+build() {
+ cd ghostscript-${pkgver}
+
# force it to use system-libs
rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype openjpeg cups/libs # jbig2dec is in community