summaryrefslogtreecommitdiff
path: root/libre/ghostscript/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-24 15:02:51 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-24 15:05:47 -0300
commit791d21f81c510f1d824ecf272a9da7a1cb1cd5b7 (patch)
treeed862239ef1f286d7d1039f9073c7e818a52b3a0 /libre/ghostscript/PKGBUILD
parentddf70ce309687acc70a1be252012b17b5bb5dbdc (diff)
downloadabslibre-791d21f81c510f1d824ecf272a9da7a1cb1cd5b7.tar.gz
abslibre-791d21f81c510f1d824ecf272a9da7a1cb1cd5b7.tar.bz2
abslibre-791d21f81c510f1d824ecf272a9da7a1cb1cd5b7.zip
ghostscript-9.19-3.parabola1: replace statically linked binary with dynamic one - FS#50422 -> https://bugs.archlinux.org/task/50422
Diffstat (limited to 'libre/ghostscript/PKGBUILD')
-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/