core/libxslt/PKGBUILD

26 lines
798 B
Bash
Raw Normal View History

2010-03-22 01:35:58 +08:00
# $Id: PKGBUILD 58465 2009-11-08 16:04:10Z jgc $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=libxslt
pkgver=1.1.26
2010-12-19 06:00:47 +08:00
pkgrel=2
2010-03-22 01:35:58 +08:00
pkgdesc="XML stylesheet transformation library"
arch=('i686' 'x86_64')
url="http://xmlsoft.org/XSLT/"
license=('custom')
depends=('libxml2>=2.7.6' 'libgcrypt>=1.4.4')
2010-12-19 06:00:47 +08:00
makedepends=('python2')
2010-03-22 01:35:58 +08:00
options=('!libtool')
source=(ftp://xmlsoft.org/libxslt/${pkgname}-${pkgver}.tar.gz)
md5sums=('e61d0364a30146aaa3001296f853b2b9')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./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
}