# $Id: PKGBUILD 189649 2013-07-04 03:34:44Z eric $ # Maintainer: Paul Mattal # Contributor: Tom Newsom pkgname=enscript pkgver=1.6.6 pkgrel=1 pkgdesc="Convert ASCII files to PostScript suitable for printing" arch=('i686' 'x86_64') url="http://git.savannah.gnu.org/cgit/enscript.git" license=('GPL3') depends=('glibc') backup=('etc/enscript/enscript.cfg') install=enscript.install source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('3acc242b829adacabcaf28533f049afd') build() { cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc/enscript make } check() { cd $pkgname-$pkgver make check } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }