summaryrefslogtreecommitdiff
path: root/libre/gnu-ghostscript/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-02 16:15:17 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-02 16:15:17 -0200
commit8d89a32533d35efb7acafac4ec0ad025fd55a243 (patch)
treee6bf57d890755178ae10b34d009f4e689b1b4078 /libre/gnu-ghostscript/PKGBUILD
parent0822dd5ee4d54477ed246fc2bf87e8f74221c54d (diff)
downloadabslibre-8d89a32533d35efb7acafac4ec0ad025fd55a243.tar.gz
abslibre-8d89a32533d35efb7acafac4ec0ad025fd55a243.tar.bz2
abslibre-8d89a32533d35efb7acafac4ec0ad025fd55a243.zip
gnu-ghostscript-9.05.0-1: updating version
Diffstat (limited to 'libre/gnu-ghostscript/PKGBUILD')
-rwxr-xr-xlibre/gnu-ghostscript/PKGBUILD38
1 files changed, 15 insertions, 23 deletions
diff --git a/libre/gnu-ghostscript/PKGBUILD b/libre/gnu-ghostscript/PKGBUILD
index c7f952833..fa39cfc1e 100755
--- a/libre/gnu-ghostscript/PKGBUILD
+++ b/libre/gnu-ghostscript/PKGBUILD
@@ -1,41 +1,32 @@
-# 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 created by the FSF"
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?
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}
+url="https://www.gnu.org/software/${_pkgname}/"
+source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${pkgname}-${pkgver}.tar.xz)
options=('!libtool' '!makeflags')
-md5sums=('aba639a5102afbd2ee30c67831692c27'
- '5a78af559d44a7502978fd09f840e3aa'
- '5bd5d4966007b460deed866a30a0b3c8')
+md5sums=('aba639a5102afbd2ee30c67831692c27')
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
# 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 +38,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 +56,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