PKGBUILDs/community/cupsddk/PKGBUILD
2009-10-09 21:15:33 -05:00

31 lines
1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: Georg Grabler (STiAT) <ggrabler@gmail.com>
pkgname=cupsddk
pkgver=1.2.3
pkgrel=5
arch=('i686' 'x86_64')
pkgdesc="CUPSD Development Kit"
url="http://cups.org/ddk/index.php"
license=('GPL')
depends=('libcups')
makedepends=('libcups')
arch=('i686' 'x86_64')
options=('!emptydirs')
source=(http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/cupsddk/$pkgver/$pkgname-$pkgver-source.tar.bz2)
md5sums=('3ec52813bf12bf9b34d34f8a81bab508')
build() {
cd $startdir/src/$pkgname-$pkgver
[ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr
make || return 1
make bindir=$startdir/pkg/usr/bin \
datadir=$startdir/pkg/usr/share \
docdir=$startdir/pkg/usr/share/cupsddk \
mandir=$startdir/pkg/usr/share/man \
prefix=$startdir/pkg/usr \
CUPS_DATADIR=$startdir/pkg/`cups-config --datadir` \
CUPS_SERVERBIN=$startdir/pkg/`cups-config --serverbin` \
install
}