From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/libxslt/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 extra/libxslt/PKGBUILD (limited to 'extra/libxslt') diff --git a/extra/libxslt/PKGBUILD b/extra/libxslt/PKGBUILD new file mode 100644 index 000000000..c956c0f08 --- /dev/null +++ b/extra/libxslt/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 87866 2010-08-18 15:17:10Z ibiru $ +# Maintainer: Eric Belanger +# Contributor: John Proctor + +pkgname=libxslt +pkgver=1.1.26 +pkgrel=2 +pkgdesc="XML stylesheet transformation library" +arch=('i686' 'x86_64') +url="http://xmlsoft.org/XSLT/" +license=('custom') +depends=('libxml2>=2.7.7' 'libgcrypt>=1.4.6') +makedepends=('python2') +options=('!libtool') +source=(ftp://xmlsoft.org/libxslt/${pkgname}-${pkgver}.tar.gz) +md5sums=('e61d0364a30146aaa3001296f853b2b9') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --with-python=/usr/bin/python2.7 + make + make DESTDIR="${pkgdir}" install + + for f in pyxsltproc.py extfunc.py exslt.py extelem.py basic.py; do + sed -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \ + -i ${pkgdir}/usr/share/doc/libxslt-python-1.1.26/examples/${f} + done + + install -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} -- cgit v1.2.3-54-g00ecf