# $Id: PKGBUILD 2322 2008-05-31 21:12:21Z eric $ # Maintainer: Eric Belanger <eric@archlinux.org> # Contributor: John Proctor <jproctor@prium.net> pkgname=libxslt pkgver=1.1.24 pkgrel=1 pkgdesc="XML stylesheet transformation library" arch=('i686' 'x86_64') url="http://xmlsoft.org/XSLT/" license=('custom') depends=('libxml2>=2.6.30' 'libgcrypt') makedepends=('python>=2.5') options=('!libtool') source=(ftp://xmlsoft.org/libxslt/${pkgname}-${pkgver}.tar.gz) md5sums=('e83ec5d27fc4c10c6f612879bea9a153') sha1sums=('b5402e24abff5545ed76f6a55049cbebc664bd58') build() { cd ${startdir}/src/${pkgname}-${pkgver} ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR=${startdir}/pkg install || return 1 install -D -m644 COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING || return 1 }