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

24 lines
998 B
Bash

# $Id: PKGBUILD 43605 2009-06-25 17:26:18Z 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-nonfree
pkgver=20090625
pkgrel=1
pkgdesc="Foomatic database extension consisting of manufacturer-supplied PPD files released under non-free licenses which restricts them in how they can get redistributed"
arch=(i686 x86_64)
license=('custom')
depends=('perl' 'libxml2' "foomatic-db-engine>=4.0_$pkgver" 'foomatic-db')
source=(http://www.linuxprinting.org/download/foomatic/$pkgname-$pkgver.tar.gz)
url="http://www.linux-foundation.org/en/OpenPrinting/Database/Foomatic"
md5sums=('46ce70746c0311d7c6bb9776d6040d8d')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING || return 1
}