updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / libglade-old / PKGBUILD
blobf91790975b0fc0b07111d216e42932df2029a926
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _pkg=libglade
4 pkgname=$_pkg-old
5 pkgver=0.17
6 pkgrel=2
7 pkgdesc="Allows you to load glade interface files in a program at runtime. Older version"
8 arch=(i686 x86_64)
9 url="http://ftp.gnome.org/pub/GNOME/sources/libglade/0.17/"
10 license=('GPL')
11 depends=('python2' 'gtk' 'libxml')
12 options=('!libtool')
13 source=("http://ftp.gnome.org/pub/GNOME/sources/$_pkg/$pkgver/$_pkg-$pkgver.tar.gz")
14 md5sums=('38b2e2cfd813783fe157617813bfe3b3')
16 build() {
17   cd "$srcdir/$_pkg-$pkgver"
19   # python2 fixes
20   sed -i "s|python|&2|" libglade-xgettext
22   # solves the underquoted definition warning
23   sed -i "s|\(AC_DEFUN(\)\(AM_PATH_LIBGLADE\)|\1[\2]|" $_pkg.m4
25   ./configure --prefix=/usr \
26               --disable-static
27   make
30 package() {
31   cd "$srcdir/$_pkg-$pkgver"
33   make DESTDIR="$pkgdir/" install
36 # vim:set ts=2 sw=2 et: