PKGBUILDs/extra/foomatic-db-engine/PKGBUILD
2009-10-09 21:23:22 -05:00

30 lines
1.1 KiB
Bash

# $Id: PKGBUILD 43602 2009-06-25 17:19:19Z 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-engine
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')
depends=('perl' 'libxml2' 'foomatic-filters')
replaces=('foomatic')
conflicts=('foomatic')
source=(http://www.linuxprinting.org/download/foomatic/$pkgname-${pkgver/_/-}.tar.gz)
url="http://www.linuxprinting.org/foomatic.html"
md5sums=('2c6fa2027ca218d0705a4f061146114e')
build() {
cd ${srcdir}/${pkgname}-*
./configure --prefix=/usr
make || return 1
eval `perl -V:archname`
make DESTDIR=${pkgdir} \
INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
INSTALLSITELIB=/usr/lib/perl5/site_perl/current/ \
INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} install || return 1
/usr/bin/find ${pkgdir} -name '.packlist' -delete
}