updated on Tue Jan 24 12:00:22 UTC 2012
[aur-mirror.git] / glade2-simplegladeapp / PKGBUILD
blob8709f3e44e59c3a96272187c7c8aad0d341af563
1 # Contribuitor: Guillermo Garcia Ledezma |AhIoRoS| < ahioros@gmail.com >
3 pkgname=glade2-simplegladeapp
4 pkgver=2.12.1
5 pkgrel=1
6 pkgdesc="user interface builder for GTK+ and GNOME. with patch for tepache"
7 depends=('libgnomeui')
8 makedepends=('intltool')
9 url="http://glade.gnome.org/"
10 install=glade.install
11 source=(http://ftp.gnome.org/pub/GNOME/sources/glade/2.12/glade-$pkgver.tar.bz2\
12         http://tigrux.nipl.net/python-glade/glade-2.10.0-simplegladepython.2.patch)
13 arch=('i686')
14 md5sums=('4e7a25dbd30b8c9dc2cf3c593776c444' 'e582b9cd0adafa7f97f0261c5eb215b0')
17 build() {
18   cd $startdir/src/glade-$pkgver
19   patch -Np1 -i ../glade-2.10.0-simplegladepython.2.patch || return 1
20   find . -name Makefile.in -exec sed -i -e 's/-scrollkeeper-update.*//' {} \;
21   if [ -f omf.make ]; then
22     sed -i -e 's/-scrollkeeper-update.*//' omf.make
23   fi
25   ./configure --prefix=/usr
26   make || return 1
27   make DESTDIR=$startdir/pkg install