diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-04-17 15:59:35 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-04-17 15:59:35 -0300 |
commit | 6fed2edc6f9533e7894bbbacdbd1dbbb50076b01 (patch) | |
tree | fae0fe13e944d0265e921e57e355718c3ccd3f10 /multilib/lib32-libglade/PKGBUILD | |
parent | 048b7287473507b76146e58378f4bfcfacf1060b (diff) | |
parent | 84837d89991e1e82e5aef8e297541c572ebf2efa (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
extra/libmcs/PKGBUILD
extra/libmowgli/PKGBUILD
kde-unstable/kdepim/PKGBUILD
Diffstat (limited to 'multilib/lib32-libglade/PKGBUILD')
-rw-r--r-- | multilib/lib32-libglade/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/multilib/lib32-libglade/PKGBUILD b/multilib/lib32-libglade/PKGBUILD new file mode 100644 index 000000000..029d31cc8 --- /dev/null +++ b/multilib/lib32-libglade/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: $ +# Maintainer: Pierre Schmitz <pierre@archlinux.de> +# Contributor: TryA <tryagainprod {at} gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> + +_pkgbasename=libglade +pkgname=lib32-libglade +pkgver=2.6.4 +pkgrel=4 +pkgdesc="Allows you to load glade interface files in a program at runtime (32-bit)" +arch=('x86_64') +license=('LGPL') +depends=('lib32-gtk2' 'lib32-libxml2' "${_pkgbasename}") +makedepends=('python2' 'pkgconfig' 'gcc-multilib') +options=('!libtool') +source=("http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/2.6/${_pkgbasename}-${pkgver}.tar.bz2" + 'libglade-2.0.1-nowarning.patch') +url='http://www.gnome.org' +md5sums=('d1776b40f4e166b5e9c107f1c8fe4139' + '4f879c0ce550004905aa0fb24f25c353') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/${_pkgbasename}-${pkgver}" + patch -Np1 -i "${srcdir}/libglade-2.0.1-nowarning.patch" + PYTHON=python2 ./configure --sysconfdir=/etc --prefix=/usr --localstatedir=/var --libdir=/usr/lib32 + make +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -rf ${pkgdir}/usr/{bin,include,share} +} |