diff options
author | root <root@rshg054.dnsready.net> | 2011-11-11 23:15:00 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-11 23:15:00 +0000 |
commit | e0f64ccb05c467785eaf68b42c3e302c44aa3324 (patch) | |
tree | e6cdb653ce50a1a2e3fd5ac74a46c1bbc33441bc /libre/ghostscript-libre/SRCBUILD | |
parent | 4141f5b04aab597f88a617a82649a404c773469a (diff) |
Fri Nov 11 23:15:00 UTC 2011
Diffstat (limited to 'libre/ghostscript-libre/SRCBUILD')
-rw-r--r-- | libre/ghostscript-libre/SRCBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libre/ghostscript-libre/SRCBUILD b/libre/ghostscript-libre/SRCBUILD new file mode 100644 index 000000000..dc28e857e --- /dev/null +++ b/libre/ghostscript-libre/SRCBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 123066 2011-05-07 23:01:49Z stephane $ +# Maintainer: AndyRTR <andyrtr@archlinux.org> +# Maintainer (Parabola): xihh + +pkgname=ghostscript-libre +pkgver=9.04 +pkgrel=5 +pkgdesc="An interpreter for the PostScript language without non-free files" +arch=('any') +license=('GPL3') #non free files removed +url="http://www.ghostscript.com/" +source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) +md5sums=('9f6899e821ab6d78ab2c856f10fa3023') +options=(!strip !docs !libtool !emptydirs !zipman !purge) + +build() { + cd ${srcdir}/ghostscript-${pkgver} + + export PKGEXT=.src.tar.xz + + # delete non-free packages + grep -l "are not altered" Resource/CMap/* | xargs rm -fv +} + +package() { + cd ${srcdir} + export PKGEXT=.src.tar.xz + export PKGDEST=${startdir} + + mv ghostscript-${pkgver} ${pkgdir}/ + +} |