summaryrefslogtreecommitdiff
path: root/libre/ghostscript-libre/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-04 00:06:56 -0800
committerroot <root@rshg054.dnsready.net>2013-02-04 00:06:56 -0800
commit3e78397cb031dee2b5874f1c0c9e4c9977f0dbb7 (patch)
tree13cd29450035c478b8a064e0ff16f5a10e3fced6 /libre/ghostscript-libre/PKGBUILD
parente363875b14479aa4c6ff12f3e4e7ed920df4e45f (diff)
Mon Feb 4 00:06:56 PST 2013
Diffstat (limited to 'libre/ghostscript-libre/PKGBUILD')
-rw-r--r--libre/ghostscript-libre/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/libre/ghostscript-libre/PKGBUILD b/libre/ghostscript-libre/PKGBUILD
index 656f49fb5..499f4bab0 100644
--- a/libre/ghostscript-libre/PKGBUILD
+++ b/libre/ghostscript-libre/PKGBUILD
@@ -6,7 +6,7 @@
_pkgname=ghostscript
pkgname=ghostscript-libre
pkgver=9.06
-pkgrel=1
+pkgrel=1.1 # rebuild for mips64el -march
pkgdesc="An interpreter for the PostScript language without non-free files"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL3') #non free files removed
@@ -18,12 +18,17 @@ conflicts=('ghostscript')
replaces=('ghostscript')
provides=("ghostscript=$pkgver")
url="http://www.ghostscript.com/"
-source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2)
-options=('!libtool' '!makeflags')
-md5sums=('46f9ebe40dc52755287b30704270db11')
+source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2
+ ijs-automake.patch)
+options=('!libtool')
+md5sums=('46f9ebe40dc52755287b30704270db11'
+ '686830841eb9004143a0d0f56b73aaaf')
build() {
cd ${srcdir}/ghostscript-${pkgver}
+
+ # Fix build with recent automake.
+ patch -p1 -i "$srcdir/ijs-automake.patch"
# delete non-free packages
grep -l "are not altered" Resource/CMap/* | xargs rm -fv
@@ -57,7 +62,7 @@ build() {
package() {
cd ${srcdir}/ghostscript-${pkgver}
- make DESTDIR=${pkgdir} \
+ make -j1 DESTDIR=${pkgdir} \
cups_serverroot=${pkgdir}/etc/cups \
cups_serverbin=${pkgdir}/usr/lib/cups install soinstall
@@ -72,5 +77,5 @@ package() {
# install IJS
cd ${srcdir}/ghostscript-${pkgver}/ijs
- make DESTDIR=${pkgdir} install
+ make -j1 DESTDIR=${pkgdir} install
}