PKGBUILDs/extra/enscript/PKGBUILD
2009-11-26 22:21:46 -08:00

24 lines
805 B
Bash

# Maintainer: eric <eric@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=enscript
pkgver=1.6.4
pkgrel=4
pkgdesc="Convert ASCII files to PostScript suitable for printing"
arch=('arm')
depends=('glibc')
license=('GPL2')
source=(http://www.iki.fi/mtr/g$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('b5174b59e4a050fb462af5dbf28ebba3')
url="http://people.ssh.fi/mtr/genscript/index.html"
build() {
cd $startdir/src/$pkgname-$pkgver || return 1
./configure --prefix=/usr --sysconfdir=/etc/enscript --mandir=/usr/share/man \
--infodir=/usr/share/info || return 1
/usr/bin/make || return 1
/usr/bin/make prefix=$startdir/pkg/usr \
sysconfdir=$startdir/pkg/etc/enscript mandir=$startdir/pkg/usr/share/man \
infodir=$startdir/pkg/usr/share/info install || return 1
}