PKGBUILDs/extra/libxslt/PKGBUILD
2009-09-26 09:35:50 -05:00

28 lines
934 B
Bash

# $Id: PKGBUILD 26967 2009-02-14 23:59:16Z jgc $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
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
}