summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 14:56:22 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 14:56:22 (GMT)
commit97710316402e21ea3c82f1dd97309fe3cf856552 (patch)
tree283d416899d410374788d80d24e740171917952d
parent5bdda30592f681bb1e8048281315c6b49c62b4a6 (diff)
downloadlinhes_pkgbuild-97710316402e21ea3c82f1dd97309fe3cf856552.zip
linhes_pkgbuild-97710316402e21ea3c82f1dd97309fe3cf856552.tar.gz
linhes_pkgbuild-97710316402e21ea3c82f1dd97309fe3cf856552.tar.bz2
libglade 2.6.4
-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/"
}