archrelease: copy trunk to extra-x86_64
[arch-packages.git] / enscript / repos / extra-x86_64 / PKGBUILD
blob0f5fd7e79ad036490b67af36063c56f85cb3b2e2
1 # Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
2 # Contributor: Paul Mattal <paul@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5 pkgname=enscript
6 pkgver=1.6.6
7 pkgrel=4
8 pkgdesc="Convert ASCII files to PostScript suitable for printing"
9 arch=('x86_64')
10 url="https://git.savannah.gnu.org/cgit/enscript.git"
11 license=('GPL3')
12 depends=('glibc' 'perl')
13 backup=('etc/enscript/enscript.cfg')
14 source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
15 md5sums=('3acc242b829adacabcaf28533f049afd')
17 build() {
18   cd $pkgname-$pkgver
19   ./configure --prefix=/usr --sysconfdir=/etc/enscript
20   make
23 check() {
24   cd $pkgname-$pkgver
25   make check
28 package() {
29   cd $pkgname-$pkgver
30   make DESTDIR="$pkgdir" install