# $Id: PKGBUILD 26967 2009-02-14 23:59:16Z jgc $ # Maintainer: Eric Belanger # Contributor: John Proctor pkgname=libxslt pkgver=1.1.24 pkgrel=2 pkgdesc="XML stylesheet transformation library" arch=(arm) url="http://xmlsoft.org/XSLT/" license=('custom') depends=('libxml2>=2.7.3' 'libgcrypt>=1.4.3') makedepends=('python>=2.6') options=('!libtool') source=(ftp://xmlsoft.org/libxslt/${pkgname}-${pkgver}.tar.gz libxslt-1.1.24-exslt_crypt.patch) md5sums=('e83ec5d27fc4c10c6f612879bea9a153' 'bf43a510a37fbca661c7ef3dd1eddfea') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np0 -i "${srcdir}/libxslt-1.1.24-exslt_crypt.patch" || return 1 ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 }