mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
31 lines
1.1 KiB
Bash
31 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
|
||
|
}
|