PKGBUILDs/extra/enscript/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
886 B
Bash

# $Id: PKGBUILD 53019 2009-09-25 05:00:33Z paul $
# 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=(i686 x86_64)
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
}
# vim: ts=2 sw=2 et ft=sh