1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Alexander Fehr <pizzapunk gmail com>
7 pkgdesc="Tools to use and administrate CUPS"
9 url="http://gtklp.sourceforge.net/"
12 install="$pkgname.install"
13 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.src.tar.gz"
15 "${pkgname}q.desktop")
16 md5sums=('65c7089140b5f8e2a0b282b3083b78ae'
17 '673bbc897e557f90777c6fad3a5b1071'
18 'c4b73e5d3fe725bfd09dda0efbca95f0')
21 cd "$srcdir/$pkgname-$pkgver"
23 # libcups 1.5.0 compatibility fix
24 sed -i "30i#include <cups/ppd.h>" $pkgname/$pkgname.h
26 ./configure --prefix=/usr
27 make FORTE_LDFLAGS="$LDFLAGS -lX11"
31 cd "$srcdir/$pkgname-$pkgver"
33 make DESTDIR="$pkgdir/" install
36 install -d "$pkgdir/usr/share/applications"
37 install -Dm644 ../*.desktop "$pkgdir/usr/share/applications"