Date: Wednesday, August 24, 2016 @ 16:07:01
  Author: andyrtr
Revision: 274623

upgpkg: ghostscript 9.19-3

replace statically linked binary with dynamic one; FS#50422

Modified:
  ghostscript/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-08-24 06:42:43 UTC (rev 274622)
+++ PKGBUILD    2016-08-24 16:07:01 UTC (rev 274623)
@@ -3,7 +3,7 @@
 
 pkgname=ghostscript
 pkgver=9.19
-pkgrel=2
+pkgrel=3
 pkgdesc="An interpreter for the PostScript language"
 arch=('i686' 'x86_64')
 license=('AGPL' 'custom')
@@ -52,8 +52,8 @@
        --with-system-libtiff \
        --with-libpaper \
        --disable-compile-inits #--help # needed for linking with system-zlib
+  make so
   make
-
 }
 
 package() {
@@ -62,6 +62,9 @@
        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/
   

Reply via email to