PKGBUILDs/extra/foomatic-db/PKGBUILD

27 lines
939 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 43596 2009-06-25 17:05:13Z 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-db
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' 'custom')
depends=('perl' 'libxml2')
makedepends=('cups')
replaces=('foomatic-db-ppd')
conflicts=('foomatic-db-ppd')
source=(http://www.linuxprinting.org/download/foomatic/$pkgname-${pkgver/_/-}.tar.gz)
url="http://www.linuxprinting.org/foomatic.html"
md5sums=('f6a6465c6b7ffd179f72f5e285a173b9')
build() {
cd ${srcdir}/${pkgname}-*
./configure --prefix=/usr
make DESTDIR=${pkgdir} install || return 1
install -Dm644 ${srcdir}/${pkgname}-*/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING || return 1
}