archrelease: copy trunk to extra-x86_64
[arch-packages.git] / enscript / trunk / PKGBUILD
blob2b3de5209eecf63d3a2ca6c6c8c1c50cf04c2df3
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=5
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 sha256sums=('6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb')
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