summaryrefslogtreecommitdiffstats
path: root/abs/core/libglade
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libglade')
-rw-r--r--abs/core/libglade/PKGBUILD20
-rw-r--r--abs/core/libglade/glade.install5
2 files changed, 11 insertions, 14 deletions
diff --git a/abs/core/libglade/PKGBUILD b/abs/core/libglade/PKGBUILD
index fc10160..95eff9b 100644
--- a/abs/core/libglade/PKGBUILD
+++ b/abs/core/libglade/PKGBUILD
@@ -1,26 +1,28 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 30217 2009-03-17 18:11:58Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libglade
-pkgver=2.6.2
+pkgver=2.6.4
pkgrel=1
pkgdesc="Allows you to load glade interface files in a program at runtime"
arch=(i686 x86_64)
license=('LGPL')
-depends=('gtk2' 'libxml2')
+depends=('gtk2>=2.16.0' 'libxml2>=2.7.3')
makedepends=('python' 'pkgconfig')
+optdepends=('python: libglade-convert script')
options=('!libtool')
install=glade.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2
libglade-2.0.1-nowarning.patch)
url="http://www.gnome.org"
-md5sums=('da4f9d1c6cd1337f6ef5e2db768d8557' '4f879c0ce550004905aa0fb24f25c353')
+md5sums=('d1776b40f4e166b5e9c107f1c8fe4139'
+ '4f879c0ce550004905aa0fb24f25c353')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- patch -Np1 -i ${startdir}/src/libglade-2.0.1-nowarning.patch || return 1
- ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var
+ 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=${startdir}/pkg install
- install -m755 libglade-convert ${startdir}/pkg/usr/bin/libglade-convert
+ make DESTDIR="${pkgdir}" install || return 1
+ install -m755 libglade-convert "${pkgdir}/usr/bin/" || return 1
}
diff --git a/abs/core/libglade/glade.install b/abs/core/libglade/glade.install
index c98d2ed..a7f05c5 100644
--- a/abs/core/libglade/glade.install
+++ b/abs/core/libglade/glade.install
@@ -23,8 +23,3 @@ post_remove() {
xmlcatalog --noout --del \
/usr/share/xml/libglade/glade-2.0.dtd etc/xml/catalog
}
-
-op=$1
-shift
-
-$op $*