summaryrefslogtreecommitdiffstats
path: root/abs/core/libxslt
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libxslt')
-rw-r--r--abs/core/libxslt/ChangeLog9
-rw-r--r--abs/core/libxslt/PKGBUILD30
2 files changed, 18 insertions, 21 deletions
diff --git a/abs/core/libxslt/ChangeLog b/abs/core/libxslt/ChangeLog
deleted file mode 100644
index ccd5848..0000000
--- a/abs/core/libxslt/ChangeLog
+++ /dev/null
@@ -1,9 +0,0 @@
-2008-05-31 Eric Belanger <eric@archlinux.org>
-
- * libxslt 1.1.24-1
- * Upstream update
-
-2008-05-01 Eric Belanger <eric@archlinux.org>
-
- * libxslt 1.1.23-1
- * Upstream update
diff --git a/abs/core/libxslt/PKGBUILD b/abs/core/libxslt/PKGBUILD
index 9a598b0..c956c0f 100644
--- a/abs/core/libxslt/PKGBUILD
+++ b/abs/core/libxslt/PKGBUILD
@@ -1,25 +1,31 @@
-# $Id: PKGBUILD 2322 2008-05-31 21:12:21Z eric $
+# $Id: PKGBUILD 87866 2010-08-18 15:17:10Z ibiru $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=libxslt
-pkgver=1.1.24
-pkgrel=1
+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.6.30' 'libgcrypt')
-makedepends=('python>=2.5')
+depends=('libxml2>=2.7.7' 'libgcrypt>=1.4.6')
+makedepends=('python2')
options=('!libtool')
source=(ftp://xmlsoft.org/libxslt/${pkgname}-${pkgver}.tar.gz)
-md5sums=('e83ec5d27fc4c10c6f612879bea9a153')
-sha1sums=('b5402e24abff5545ed76f6a55049cbebc664bd58')
+md5sums=('e61d0364a30146aaa3001296f853b2b9')
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
+ 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}/"
}