summaryrefslogtreecommitdiff
path: root/libre/gnu-ghostscript
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-08 06:41:36 -0800
committerroot <root@rshg054.dnsready.net>2012-11-08 06:41:36 -0800
commite5f99abe2484d8fdfd1b2d57ba2233e027e9b64c (patch)
tree1836bf263483990aa39689da5b11d4dccae87e1c /libre/gnu-ghostscript
parent820b47e114141394686758f528713a7dae08c149 (diff)
Thu Nov 8 06:41:35 PST 2012
Diffstat (limited to 'libre/gnu-ghostscript')
-rw-r--r--libre/gnu-ghostscript/PKGBUILD37
1 files changed, 17 insertions, 20 deletions
diff --git a/libre/gnu-ghostscript/PKGBUILD b/libre/gnu-ghostscript/PKGBUILD
index c7f952833..3270a3d4d 100644
--- a/libre/gnu-ghostscript/PKGBUILD
+++ b/libre/gnu-ghostscript/PKGBUILD
@@ -1,33 +1,29 @@
-# Maintainer: André Silva <andre.paulista@adinet.com.uy>
+# Maintainer: André Silva <emulatorman@lavabit.com>
+_pkgname=ghostscript
pkgname=gnu-ghostscript
-_pkgver=9.04
-pkgver=9.04.1
+_pkgver=9.05
+pkgver=9.05.0
pkgrel=1
-pkgdesc="An interpreter for the PostScript language from FSF"
+pkgdesc="An interpreter for the PostScript language maintained by a team of GNU programmers"
arch=('i686' 'x86_64')
license=('GPL3')
-depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' 'libtiff>=4.0.0' 'lcms') # 'lcms2' won't get used) # move in libpaper from community?
+depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' 'libtiff>=4.0.0' 'lcms2')
makedepends=('gtk2' 'gnutls')
optdepends=('texlive-core: needed for dvipdf'
'gtk2: needed for gsx')
-conflicts=('ghostscript')
-replaces=('ghostscript-lrpng' 'ghostscript')
-provides=('ghostscript-lprng' "ghostscript=$pkgver")
-url="https://www.gnu.org/software/ghostscript/"
-source=(ftp://ftp.gnu.org/gnu/ghostscript/${pkgname}-${pkgver}.tar.xz
- ${pkgname}-cups-rgbw.patch
- libtool.patch)
+conflicts=${_pkgname}
+replaces=${_pkgname}
+provides="${_pkgname}=9.06"
+url="https://www.gnu.org/software/${_pkgname}/"
+source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${pkgname}-${pkgver}.tar.xz
+ libtool.patch)
options=('!libtool' '!makeflags')
-md5sums=('aba639a5102afbd2ee30c67831692c27'
- '5a78af559d44a7502978fd09f840e3aa'
+md5sums=('e80423be9abb32fc99cc897ed379a7df'
'5bd5d4966007b460deed866a30a0b3c8')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
-
- # fix broken color printing https://bugs.archlinux.org/task/25519
- patch -Np1 -i ${srcdir}/${pkgname}-cups-rgbw.patch
# fix libtool version
patch -Np1 -i ${srcdir}/libtool.patch
@@ -35,7 +31,7 @@ build() {
# force it to use system-libs
rm -rf jpeg libpng zlib jasper expat tiff lcms freetype
-LIBS=-lfreetype ./configure --prefix=/usr \
+ ./configure --prefix=/usr \
--enable-dynamic \
--with-ijs \
--with-jbig2dec \
@@ -47,6 +43,7 @@ LIBS=-lfreetype ./configure --prefix=/usr \
--enable-fontconfig \
--enable-freetype \
--without-luratech \
+ --with-system-libtiff \
--disable-compile-inits #--help # needed for linking with system-zlib
make
@@ -64,9 +61,9 @@ package() {
cups_serverbin=${pkgdir}/usr/lib/cups install soinstall
# install missing doc files # http://bugs.archlinux.org/task/18023
- install -m 644 ${srcdir}/${pkgname}-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} ${pkgdir}/usr/share/ghostscript/$_pkgver/doc/
+ install -m 644 ${srcdir}/${pkgname}-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} ${pkgdir}/usr/share/${_pkgname}/$_pkgver/doc/
- mkdir -p ${pkgdir}/usr/share/licenses/ghostscript
+ mkdir -p ${pkgdir}/usr/share/licenses/${_pkgname}
install -m644 LICENSE ${pkgdir}/usr/share/licenses/${_pkgname}/
# remove unwanted localized man-pages