diff options
Diffstat (limited to 'libre/ghostscript-libre/PKGBUILD')
-rw-r--r-- | libre/ghostscript-libre/PKGBUILD | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/libre/ghostscript-libre/PKGBUILD b/libre/ghostscript-libre/PKGBUILD index cf00963b8..9aceaadd1 100644 --- a/libre/ghostscript-libre/PKGBUILD +++ b/libre/ghostscript-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 178158 2013-02-17 10:57:03Z andyrtr $ +# $Id: PKGBUILD 183802 2013-04-28 00:51:13Z eric $ # Maintainer: AndyRTR <andyrtr@archlinux.org> # Maintainer (Parabola): Joshua Haase <hahj87@gmail.com> # Maintainer (Parabola): André Silva <emulatorman@lavabit.com> @@ -6,8 +6,8 @@ _pkgname=ghostscript pkgname=ghostscript-libre pkgver=9.07 -pkgrel=1 # rebuild for mips64el -march -pkgdesc="An interpreter for the PostScript language without non-free files" +pkgrel=2 +pkgdesc="An interpreter for the PostScript language without nonfree files" arch=('i686' 'x86_64' 'mips64el') license=('AGPL') #non free files removed depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' @@ -24,7 +24,7 @@ options=('!libtool') md5sums=('eea27befc1e85bef6d4768202f6b03a5') build() { - cd ${srcdir}/ghostscript-${pkgver} + cd ghostscript-${pkgver} # delete non-free packages grep -l "are not altered" Resource/CMap/* | xargs rm -fv @@ -51,7 +51,7 @@ build() { make # Build IJS - cd ${srcdir}/ghostscript-${pkgver}/ijs + cd ijs sed -i "s:AM_PROG_CC_STDC:AC_PROG_CC:g" configure.ac ./autogen.sh ./configure --prefix=/usr --enable-shared --disable-static @@ -59,21 +59,20 @@ build() { } package() { - cd ${srcdir}/ghostscript-${pkgver} - make -j1 DESTDIR=${pkgdir} \ - cups_serverroot=${pkgdir}/etc/cups \ - cups_serverbin=${pkgdir}/usr/lib/cups install soinstall + cd ghostscript-${pkgver} + make -j1 DESTDIR="${pkgdir}" \ + cups_serverroot="${pkgdir}"/etc/cups \ + cups_serverbin="${pkgdir}"/usr/lib/cups install soinstall # install missing doc files # http://bugs.archlinux.org/task/18023 - install -m 644 ${srcdir}/ghostscript-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} ${pkgdir}/usr/share/ghostscript/$pkgver/doc/ + install -m 644 "${srcdir}"/ghostscript-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} "${pkgdir}"/usr/share/ghostscript/$pkgver/doc/ - mkdir -p ${pkgdir}/usr/share/licenses/${_pkgname} - install -m644 LICENSE ${pkgdir}/usr/share/licenses/${_pkgname}/ + install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${_pkgname}/LICENSE # remove unwanted localized man-pages - rm -rf $pkgdir/usr/share/man/[^man1]* + rm -rf "$pkgdir"/usr/share/man/[^man1]* # install IJS - cd ${srcdir}/ghostscript-${pkgver}/ijs - make -j1 DESTDIR=${pkgdir} install + cd ijs + make -j1 DESTDIR="${pkgdir}" install } |