summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-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