opt/ghostscript/Pkgfile

30 lines
890 B
Plaintext

# Description: Postscript interpreter
# URL: http://www.ghostscript.com/awki
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
# Depends on: cups, fontconfig, xorg-libxt, xorg-libxext
name=ghostscript
version=8.70
release=1
source=(http://ghostscript.com/releases/$name-$version.tar.xz \
http://dl.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
build () {
cd $name-$version
./configure --prefix=/usr \
--mandir=/usr/man \
--enable-cups \
--disable-gtk \
--with-drivers=ALL
make so
make DESTDIR=$PKG install soinstall
cp -r $SRC/fonts $PKG/usr/share/ghostscript
mv $PKG/usr/bin/gsc $PKG/usr/bin/gs
rm $PKG/usr/bin/gsx
rm -r $PKG/usr/{share/ghostscript/$version/{examples,doc},man/de}
rm $PKG/usr/share/ghostscript/fonts/[CRT]*
}