mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/ghostscript to 9.19-2
This commit is contained in:
parent
630de07c36
commit
ba9bbc452b
1 changed files with 3 additions and 14 deletions
|
@ -6,13 +6,13 @@
|
|||
|
||||
pkgname=ghostscript
|
||||
pkgver=9.19
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="An interpreter for the PostScript language"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('AGPL' 'custom')
|
||||
depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg'
|
||||
'libtiff>=4.0.0' 'lcms2' 'dbus' 'libpaper')
|
||||
makedepends=('gtk3' 'gnutls' 'hardening-wrapper')
|
||||
makedepends=('gtk3' 'gnutls' 'hardening-wrapper' 'ijs')
|
||||
optdepends=('texlive-core: needed for dvipdf'
|
||||
'gtk3: needed for gsx')
|
||||
url="http://www.ghostscript.com/"
|
||||
|
@ -21,9 +21,8 @@ source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/
|
|||
ghostscript-sys-zlib.patch)
|
||||
#options=('!makeflags')
|
||||
# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
|
||||
sha1sums=('202e234d54a4ccd667b57c9ae8b48bd65fafd503'
|
||||
sha1sums=('6ac5c1fb665b3201622e1149f04c641c506bf6c4'
|
||||
'e054caf753df4d67221b29a2eac66130653f7556')
|
||||
|
||||
prepare() {
|
||||
cd ghostscript-${pkgver}
|
||||
# fix build with system zlib
|
||||
|
@ -60,12 +59,6 @@ build() {
|
|||
--disable-compile-inits #--help # needed for linking with system-zlib
|
||||
make
|
||||
|
||||
# Build IJS
|
||||
cd ijs
|
||||
sed -i "s:AM_PROG_CC_STDC:AC_PROG_CC:g" configure.ac
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr --enable-shared --disable-static
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@ -82,10 +75,6 @@ package() {
|
|||
# remove unwanted localized man-pages
|
||||
rm -rf "$pkgdir"/usr/share/man/[^man1]*
|
||||
|
||||
# install IJS
|
||||
cd ijs
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
# remove filters that are now maintained in cups-filters as upstream home
|
||||
rm -rf "$pkgdir"/usr/lib/cups/filter/{gstopxl,gstoraster}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue