PKGBUILDs/community/hal-cups-utils/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
743 B
Bash

# Contributor: nesl247 <nesl247@gmail.com>
pkgname=hal-cups-utils
pkgver=0.6.13
_pkgver=svn83
pkgrel=1
pkgdesc="Cups management via HAL UDIs"
url="http://packages.ubuntu.com/gutsy/admin/hal-cups-utils"
arch=('i686' 'x86_64')
license=('GPL')
depends=('hal' 'dbus' 'system-config-printer' 'glib2')
source=(http://archive.ubuntu.com/ubuntu/pool/main/h/$pkgname/${pkgname}_$pkgver+$_pkgver.orig.tar.gz
01_interpreter_path.patch)
md5sums=('435e0a2127677e7a6b06f1890e13af78'
'20a48a6f3a80dac62065e3a9b137e95b')
build() {
cd $startdir/src/trunk
patch -Np1 -i $startdir/src/01_interpreter_path.patch || return 1
./configure --prefix=/usr --libexecdir=/usr/lib/hal/scripts/
make || return 1
make DESTDIR=$startdir/pkg install
}