mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
774 B
Bash
29 lines
774 B
Bash
# $Id: PKGBUILD 21876 2008-12-16 15:23:24Z alexanderf $
|
|
# Maintainer: Alexander Fehr <pizzapunk gmail com>
|
|
|
|
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
|
|
}
|