summaryrefslogtreecommitdiff
path: root/libre/gnu-ghostscript/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/gnu-ghostscript/PKGBUILD')
-rw-r--r--libre/gnu-ghostscript/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/libre/gnu-ghostscript/PKGBUILD b/libre/gnu-ghostscript/PKGBUILD
index 19e0e4407..dc05d95ad 100644
--- a/libre/gnu-ghostscript/PKGBUILD
+++ b/libre/gnu-ghostscript/PKGBUILD
@@ -16,14 +16,19 @@ conflicts=${_pkgname}
provides="${_pkgname}=9.06"
url="https://www.gnu.org/software/${_pkgname}/"
source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${pkgname}-${pkgver}.tar.xz
+ ijs-automake.patch
libtool.patch)
-options=('!libtool' '!makeflags')
+options=('!libtool')
md5sums=('85a5e07a6b91937c157576293b381065'
+ '83bcae456ad4c9fb790be483914dbeba'
'5bd5d4966007b460deed866a30a0b3c8')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ # fix build with recent automake
+ patch -p1 -i "$srcdir/ijs-automake.patch"
+
# fix libtool version
patch -Np1 -i ${srcdir}/libtool.patch
@@ -55,7 +60,7 @@ build() {
package() {
cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} \
+ make -j1 DESTDIR=${pkgdir} \
cups_serverroot=${pkgdir}/etc/cups \
cups_serverbin=${pkgdir}/usr/lib/cups install soinstall
@@ -70,5 +75,5 @@ package() {
# install IJS
cd ${srcdir}/${pkgname}-${pkgver}/ijs
- make DESTDIR=${pkgdir} install
+ make -j1 DESTDIR=${pkgdir} install
}