summaryrefslogtreecommitdiffstats
path: root/abs/core/libglade/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libglade/PKGBUILD')
-rw-r--r--abs/core/libglade/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/abs/core/libglade/PKGBUILD b/abs/core/libglade/PKGBUILD
index ee1611c..182b671 100644
--- a/abs/core/libglade/PKGBUILD
+++ b/abs/core/libglade/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 30217 2009-03-17 18:11:58Z jgc $
+# $Id: PKGBUILD 151071 2012-02-24 17:50:27Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libglade
pkgver=2.6.4
-pkgrel=2
+pkgrel=3
pkgdesc="Allows you to load glade interface files in a program at runtime"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
license=('LGPL')
depends=('gtk2>=2.16.0' 'libxml2>=2.7.3')
makedepends=('python2' 'pkgconfig')
@@ -20,9 +20,13 @@ md5sums=('d1776b40f4e166b5e9c107f1c8fe4139'
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/libglade-2.0.1-nowarning.patch" || return 1
- ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
- install -m755 libglade-convert "${pkgdir}/usr/bin/" || return 1
+ patch -Np1 -i "${srcdir}/libglade-2.0.1-nowarning.patch"
+ PYTHON=python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -m755 libglade-convert "${pkgdir}/usr/bin/"
}