diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/ghostscript/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/ghostscript/PKGBUILD')
-rw-r--r-- | abs/core-testing/ghostscript/PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/abs/core-testing/ghostscript/PKGBUILD b/abs/core-testing/ghostscript/PKGBUILD new file mode 100644 index 0000000..2cf5416 --- /dev/null +++ b/abs/core-testing/ghostscript/PKGBUILD @@ -0,0 +1,50 @@ +# $Id: PKGBUILD 7626 2008-08-03 15:52:01Z jgc $ +# Maintainer: AndyRTR <andyrtr@archlinux.org> + +pkgname=ghostscript +pkgver=8.63 +pkgrel=3 +pkgdesc="An interpreter for the PostScript language" +arch=(i686 x86_64) +license=('GPL' 'custom') +depends=('libxext' 'libxt' 'libcups>=1.3.8-2' 'fontconfig>=2.6.0' 'gtk2>=2.12.11' 'gnutls>=2.4.1') +makedepends=('automake' 'autoconf') +replaces=('ghostscript-lrpng') +provides=('ghostscript-lprng') +url="http://www.cs.wisc.edu/~ghost/" +#url="http://www.cups.org/espgs/" +install=ghostscript.install +source=(ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs863/ghostscript-${pkgver}.tar.bz2 + ghostscript-fPIC.patch) +options=('!libtool' '!makeflags') +md5sums=('c770eedfdd846a53e211e3ba5339de21' + '29540cd88aad9a3a788d68193523080d') + +build() { + cd ${srcdir}/ghostscript-${pkgver} + if [ "$CARCH" = "x86_64" ]; then + patch -Np1 -i ${srcdir}/ghostscript-fPIC.patch || return 1 + fi + + # Build IJS + cd ${srcdir}/ghostscript-${pkgver}/ijs + ./autogen.sh + ./configure --prefix=/usr --enable-shared --disable-static + make || return 1 + make DESTDIR=${pkgdir} install || return 1 + + cd .. + ./configure --prefix=/usr --enable-dynamic --enable-threads --with-ijs \ + --with-jbig2dec --with-omni --with-x --with-drivers=ALL\ + --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts + make || return 1 + make DESTDIR=${pkgdir} \ + cups_serverroot=${pkgdir}/etc/cups \ + cups_serverbin=${pkgdir}/usr/lib/cups install soinstall + + mkdir -p ${pkgdir}/usr/share/licenses/${pkgname} + install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/ + + # remove unwanted localized man-pages + rm -rf $pkgdir/usr/share/man/[^man1]* +} |