summaryrefslogtreecommitdiff
path: root/libre/ghostscript-libre
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-10 03:44:36 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-10 03:44:36 +0000
commitfe548131c28daad221e6789ddb8e99e54cc155a5 (patch)
tree82ecaa7a1ad69b2fec94f99692b42bbf317a7226 /libre/ghostscript-libre
parentebfbe6aa4a09806147654dd9e8d512cd68921e0d (diff)
Fri Jan 10 03:40:47 UTC 2014
Diffstat (limited to 'libre/ghostscript-libre')
-rw-r--r--libre/ghostscript-libre/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/libre/ghostscript-libre/PKGBUILD b/libre/ghostscript-libre/PKGBUILD
index 4db0709fc..5b977e4b5 100644
--- a/libre/ghostscript-libre/PKGBUILD
+++ b/libre/ghostscript-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 193812 2013-09-02 09:41:54Z andyrtr $
+# $Id: PKGBUILD 197986 2013-10-30 12:06:11Z allan $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Maintainer (Parabola): Joshua Haase <hahj87@gmail.com>
# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
@@ -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