From 97710316402e21ea3c82f1dd97309fe3cf856552 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 7 Aug 2012 09:56:22 -0500
Subject: libglade 2.6.4

---
 abs/core/libglade/PKGBUILD | 20 ++++++++++++--------
 1 file 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/"
 }
-- 
cgit v0.12

