summaryrefslogtreecommitdiff
path: root/extra/enscript/PKGBUILD
blob: d24620f9634aaa73a30a2453b7d738720c3b379d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 189649 2013-07-04 03:34:44Z eric $
# 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')
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
}