diff options
Diffstat (limited to 'extra/libglade/PKGBUILD')
-rw-r--r-- | extra/libglade/PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/extra/libglade/PKGBUILD b/extra/libglade/PKGBUILD index 802d07e19..d997a18dc 100644 --- a/extra/libglade/PKGBUILD +++ b/extra/libglade/PKGBUILD @@ -1,16 +1,15 @@ -# $Id: PKGBUILD 151071 2012-02-24 17:50:27Z ibiru $ +# $Id: PKGBUILD 197694 2013-10-28 14:56:48Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libglade pkgver=2.6.4 -pkgrel=3.1 +pkgrel=5 pkgdesc="Allows you to load glade interface files in a program at runtime" arch=(i686 x86_64 'mips64el') license=('LGPL') depends=('gtk2>=2.16.0' 'libxml2>=2.7.3') makedepends=('python2' 'pkgconfig') optdepends=('python2: 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) @@ -18,15 +17,19 @@ url="http://www.gnome.org" md5sums=('d1776b40f4e166b5e9c107f1c8fe4139' '4f879c0ce550004905aa0fb24f25c353') +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ../libglade-2.0.1-nowarning.patch +} + build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i "${srcdir}/libglade-2.0.1-nowarning.patch" - PYTHON=python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var + cd $pkgname-$pkgver + PYTHON=/usr/bin/python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $pkgname-$pkgver make DESTDIR="${pkgdir}" install install -m755 libglade-convert "${pkgdir}/usr/bin/" } |