diff options
Diffstat (limited to 'multilib/lib32-atk/PKGBUILD')
-rw-r--r-- | multilib/lib32-atk/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/multilib/lib32-atk/PKGBUILD b/multilib/lib32-atk/PKGBUILD new file mode 100644 index 000000000..2243310b5 --- /dev/null +++ b/multilib/lib32-atk/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 27946 2010-09-30 16:10:31Z heftig $ +# Contributor: Pierre Schmitz <pierre@archlinux.de> +# Maintainer: Mikko Seppälä <t-r-a-y@mbnet.fi> +_pkgbasename=atk +pkgname=lib32-$_pkgbasename +pkgver=1.32.0 +pkgrel=1 +pkgdesc="A library providing a set of interfaces for accessibility (32-bit)" +arch=('x86_64') +license=('LGPL') +depends=('lib32-glib2>=2.25.17' $_pkgbasename) +makedepends=('gcc-multilib') +options=('!libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/1.32/${_pkgbasename}-${pkgver}.tar.bz2) +url='http://www.gtk.org/' +sha256sums=('e9a3e598f75c4db1af914f8b052dd9f7e89e920a96cc187c18eb06b8339cb16e') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/${_pkgbasename}-${pkgver}" + ./configure --prefix=/usr --libdir=/usr/lib32 \ + --disable-introspection + make +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make DESTDIR="${pkgdir}" install + + rm -rf "${pkgdir}"/usr/{include,share} +} |