1 # $Id: PKGBUILD 26680 2010-09-15 22:51:35Z bluewind $
2 # Maintainer: Eric Belanger <eric@archlinux.org>
3 # Contributor: John Proctor <jproctor@prium.net>
6 pkgname=lib32-$_pkgbasename
9 pkgdesc="XML stylesheet transformation library (32-bit)"
11 url="http://xmlsoft.org/XSLT/"
13 depends=('lib32-libxml2>=2.7.7' 'lib32-libgcrypt>=1.4.4' $_pkgbasename)
14 makedepends=(gcc-multilib)
16 source=(ftp://xmlsoft.org/libxslt/${_pkgbasename}-${pkgver}.tar.gz)
17 md5sums=('e61d0364a30146aaa3001296f853b2b9')
22 export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
24 cd "${srcdir}/${_pkgbasename}-${pkgver}"
25 ./configure --prefix=/usr --libdir=/usr/lib32 --without-python
30 cd "${srcdir}/${_pkgbasename}-${pkgver}"
32 make DESTDIR="${pkgdir}" install
34 rm -rf "${pkgdir}"/usr/{include,share,bin}
35 mkdir -p "$pkgdir/usr/share/licenses"
36 ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"