# $Id: PKGBUILD 21876 2008-12-16 15:23:24Z alexanderf $ # Maintainer: Alexander Fehr pkgname=gtklp pkgver=1.2.6 pkgrel=5 pkgdesc="Tools to use and administrate CUPS" arch=('i686' 'x86_64') url="http://gtklp.sourceforge.net/" license=('GPL') depends=('libcups' 'gtk2') source=(http://downloads.sourceforge.net/gtklp/gtklp-$pkgver.src.tar.gz gtklp-gtk1.patch) md5sums=('69938c99e3163c9ef25e1ed559c74c65' 'e65b07acb1e390f08b5839c3e86c1145') build() { cd "$srcdir/gtklp-$pkgver" # Make it build without GTK1 patch -Np1 -i "$srcdir/gtklp-gtk1.patch" || return 1 chmod +x autogen.sh || return 1 ./autogen.sh || return 1 ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 }