[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Jan 9 18:29:38 UTC 2018
Date: Tuesday, January 9, 2018 @ 18:29:37
Author: heftig
Revision: 314300
9.22-7
Modified:
ghostscript/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++----------------
1 file changed, 4 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-09 18:15:51 UTC (rev 314299)
+++ PKGBUILD 2018-01-09 18:29:37 UTC (rev 314300)
@@ -4,13 +4,13 @@
pkgbase=ghostscript
pkgname=(ghostscript ghostxps ghostpcl)
pkgver=9.22
-pkgrel=6
+pkgrel=7
pkgdesc="An interpreter for the PostScript language"
url="https://www.ghostscript.com/"
arch=('x86_64')
-license=('AGPL' 'custom')
+license=('AGPL3' 'custom')
depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec'
- 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'poppler-data' 'openjpeg2')
+ 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2')
makedepends=('gtk3' 'gnutls' 'glu' 'freeglut')
# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz
@@ -34,11 +34,6 @@
build() {
cd ghostpdl-${pkgver}
- local fontpath p
- for p in /usr/share/poppler/cMap/*; do
- fontpath="${fontpath}${fontpath:+:}${p}"
- done
-
./configure --prefix=/usr \
--enable-dynamic \
--with-ijs \
@@ -45,7 +40,7 @@
--with-jbig2dec \
--with-x \
--with-drivers=ALL \
- --with-fontpath="$fontpath" \
+ --with-fontpath=/usr/share/fonts/gsfonts \
--enable-fontconfig \
--enable-freetype \
--enable-openjpeg \
@@ -76,13 +71,6 @@
# remove unwanted localized manpages
rm -r "${pkgdir}"/usr/share/man/de
- # remove cmaps we already ship in poppler-data
- local f
- for f in "${pkgdir}"/usr/share/ghostscript/${pkgver}/Resource/CMap/*; do
- [[ $f == */Identity* ]] && continue
- rm $f
- done
-
install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE
}
More information about the arch-commits
mailing list