# Maintainer: Lukas Fleischer # Contributor: Paul Mattal # Contributor: Tom Newsom pkgname=enscript pkgver=1.6.6 pkgrel=5 pkgdesc="Convert ASCII files to PostScript suitable for printing" arch=('x86_64') url="https://git.savannah.gnu.org/cgit/enscript.git" license=('GPL3') depends=('glibc' 'perl') backup=('etc/enscript/enscript.cfg') source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz) sha256sums=('6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb') 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 }