PKGBUILDs/extra/foomatic-filters/PKGBUILD

28 lines
969 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 43599 2009-06-25 17:14:51Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# build order: foomatic-db / -filters / -db-engines / -db-hpijs / -db-nonfree
pkgname=foomatic-filters
pkgver=4.0_20090625
pkgrel=1
pkgdesc="Foomatic is a system for using free software printer drivers with common spoolers on Unix"
arch=(i686 x86_64)
license=('GPL')
url="http://www.linuxprinting.org/foomatic.html"
backup=(etc/foomatic/filter.conf)
depends=('ghostscript')
optdepends=('perl: for the "beh" Backend End Handler used by cups'
'net-snmp: certain (mostly HP) printers need it to work')
makedepends=('enscript')
source=(http://www.linuxprinting.org/download/foomatic/$pkgname-${pkgver/_/-}.tar.gz)
md5sums=('c90a2f95a59ab708688a44ddfb699ee5')
build() {
cd ${srcdir}/${pkgname}-*
./configure --prefix=/usr --sysconfdir=/etc
make || return 1
make DESTDIR=${pkgdir} install || return 1
}