summaryrefslogtreecommitdiffstats
path: root/abs/core/libxslt/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-11-11 19:31:51 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-11-11 19:32:19 (GMT)
commit0d33e2df6be1857b57d4d59a2ae3e314cb19ce62 (patch)
tree2b1fefaa546cbaa1759db282e095b4c7601fa8a6 /abs/core/libxslt/PKGBUILD
parent0af61fff16a2d09ac00f89517fde6d80b0958b7e (diff)
downloadlinhes_pkgbuild-0d33e2df6be1857b57d4d59a2ae3e314cb19ce62.zip
linhes_pkgbuild-0d33e2df6be1857b57d4d59a2ae3e314cb19ce62.tar.gz
linhes_pkgbuild-0d33e2df6be1857b57d4d59a2ae3e314cb19ce62.tar.bz2
forgot this file
Diffstat (limited to 'abs/core/libxslt/PKGBUILD')
-rw-r--r--abs/core/libxslt/PKGBUILD30
1 files changed, 18 insertions, 12 deletions
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}/"
}