summaryrefslogtreecommitdiff
path: root/libre/gnu-ghostscript/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-03 18:46:37 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-03 18:46:37 -0400
commita9468c3ac17cb2e89c3d589b0e8fff8c6f0c078d (patch)
tree2c8815d2097fc3010daf3ec7ae4bee32f5533a46 /libre/gnu-ghostscript/PKGBUILD
parent88e5cb576d37f9ecc536c68eb1614fbd1f08e538 (diff)
parentbdcaf97ca52942aebd3289cf8c771eae7a602f87 (diff)
downloadabslibre-a9468c3ac17cb2e89c3d589b0e8fff8c6f0c078d.tar.gz
abslibre-a9468c3ac17cb2e89c3d589b0e8fff8c6f0c078d.tar.bz2
abslibre-a9468c3ac17cb2e89c3d589b0e8fff8c6f0c078d.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/gnu-ghostscript/PKGBUILD')
-rwxr-xr-xlibre/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 100755
--- 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