summaryrefslogtreecommitdiff
path: root/libre/enscript/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-26 23:52:26 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-26 23:52:26 -0500
commit360e56ec622617a2b121c7ec51e3381ad89f0eab (patch)
treee74250415c5e21080779befbb7898bd151039d63 /libre/enscript/PKGBUILD
parent34b4025bc7b0c6d8d47988decd140df38b1d98ac (diff)
parentb1c14cd929ca53e06945a5cda3965dc6fcd9d6b7 (diff)
downloadabslibre-360e56ec622617a2b121c7ec51e3381ad89f0eab.tar.gz
abslibre-360e56ec622617a2b121c7ec51e3381ad89f0eab.tar.bz2
abslibre-360e56ec622617a2b121c7ec51e3381ad89f0eab.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/enscript/PKGBUILD')
-rw-r--r--libre/enscript/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/libre/enscript/PKGBUILD b/libre/enscript/PKGBUILD
new file mode 100644
index 000000000..281675296
--- /dev/null
+++ b/libre/enscript/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 150464 2012-02-18 00:24:06Z allan $
+# Maintainer: Paul Mattal <paul@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=enscript
+pkgver=1.6.6
+pkgrel=1
+pkgdesc="Convert ASCII files to PostScript suitable for printing"
+arch=('i686' 'x86_64' 'mips64el')
+backup=('etc/enscript/enscript.cfg')
+depends=('glibc')
+license=('GPL2' 'custom')
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('3acc242b829adacabcaf28533f049afd')
+url="http://git.savannah.gnu.org/cgit/enscript.git"
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc/enscript --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make prefix=$pkgdir/usr \
+ sysconfdir=$pkgdir/etc/enscript mandir=$pkgdir/usr/share/man \
+ infodir=$pkgdir/usr/share/info install
+ install -D -m644 afm/MustRead.html "${pkgdir}/usr/share/licenses/${pkgname}/MustRead.html"
+}
+
+# vim: ts=2 sw=2 et ft=sh