summaryrefslogtreecommitdiff
path: root/ghostscript/Pkgfile
blob: 51056a83af8c145fd944e8dc1df7ac92367ad65d (plain)
    1 # Description: Postscript interpreter
    2 # URL: https://www.ghostscript.com
    3 # Maintainer: Juergen Daubert, jue at crux dot nu
    4 # Depends on: util-linux cups fontconfig libtiff xorg-libxt xorg-libxext
    5 
    6 name=ghostscript
    7 version=10.0.0
    8 release=1
    9 source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${version//./}/$name-$version.tar.xz
   10 	https://downloads.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
   11 
   12 build() {
   13 	cd $name-$version
   14 
   15 	./configure \
   16 		--prefix=/usr \
   17 		--enable-cups \
   18 		--disable-gtk \
   19 		--disable-dbus \
   20 		--with-drivers=ALL \
   21 		--with-ijs \
   22 		--with-fontpath=/usr/share/ghostscript/fonts:/usr/share/fonts
   23 
   24 	make so all
   25 	make DESTDIR=$PKG install-so install
   26 
   27 	cd ijs
   28 
   29 	./autogen.sh
   30 	./configure --prefix=/usr --enable-shared
   31 	make
   32 	make DESTDIR=$PKG install
   33 
   34 	cp -r $SRC/fonts $PKG/usr/share/ghostscript
   35 
   36 	rm -r $PKG/usr/share/{doc,man/de}
   37 	rm $PKG/usr/share/ghostscript/fonts/[CRT]*
   38 	rm $PKG/usr/bin/ijs_{client,server}_example
   39 }

Generated by cgit