summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/ghostscript/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/libre/ghostscript/PKGBUILD b/libre/ghostscript/PKGBUILD
index a72e4d7cb..e7f904578 100644
--- a/libre/ghostscript/PKGBUILD
+++ b/libre/ghostscript/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 272516 2016-07-27 18:05:29Z andyrtr $
+# $Id: PKGBUILD 274623 2016-08-24 16:07:01Z andyrtr $
# Maintainer (Arch): AndyRTR <andyrtr@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=ghostscript
pkgver=9.19
-pkgrel=2.parabola1
+pkgrel=3.parabola1
pkgdesc="An interpreter for the PostScript language, without nonfree JPEG XR support"
arch=('i686' 'x86_64' 'armv7h')
license=('AGPL' 'custom')
@@ -67,8 +67,8 @@ build() {
--with-system-libtiff \
--with-libpaper \
--disable-compile-inits #--help # needed for linking with system-zlib
+ make so
make
-
}
package() {
@@ -77,6 +77,9 @@ package() {
cups_serverroot="${pkgdir}"/etc/cups \
cups_serverbin="${pkgdir}"/usr/lib/cups install install-so
+ # drop full libs linked gs, prefer gsc dynamically linked against libgs; FS#50422
+ ln -sf /usr/bin/gsc "${pkgdir}"/usr/bin/gs
+
# install missing doc files # http://bugs.archlinux.org/task/18023
install -m 644 "${srcdir}"/ghostscript-${pkgver}/doc/{VectorDevices.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} "${pkgdir}"/usr/share/ghostscript/$pkgver/doc/