1 # Maintainer: Jan de Groot <jgc@archlinux.org>
6 pkgdesc="Allows you to load glade interface files in a program at runtime"
9 depends=('gtk2>=2.16.0' 'libxml2>=2.7.3')
10 makedepends=('python2' 'pkgconfig')
11 optdepends=('python2: libglade-convert script')
13 source=(https://download.gnome.org/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2
14 libglade-2.0.1-nowarning.patch)
15 url="http://www.gnome.org"
16 sha256sums=('64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec'
17 '423c12af1c73442caa851a0b8db33b00fa4b778b1b422a4e8ac33d121d043008')
21 patch -Np1 -i ../libglade-2.0.1-nowarning.patch
26 PYTHON=/usr/bin/python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var
28 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
35 make DESTDIR="${pkgdir}" install
36 install -m755 libglade-convert "${pkgdir}/usr/bin/"