diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-11 20:19:16 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-11 20:19:16 (GMT) |
commit | 67a8448f689c98cfee4058376d7f9eb614e2db05 (patch) | |
tree | 9e7436d6e0603551539777f665df2e6b60a36308 /abs/core/libxslt | |
parent | 3d2398166dc2a96123d22af315e2f2073f6bb32f (diff) | |
parent | 8014e8344b6f1a789a938fccc3b356a525ce8207 (diff) | |
download | linhes_pkgbuild-67a8448f689c98cfee4058376d7f9eb614e2db05.zip linhes_pkgbuild-67a8448f689c98cfee4058376d7f9eb614e2db05.tar.gz linhes_pkgbuild-67a8448f689c98cfee4058376d7f9eb614e2db05.tar.bz2 |
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/libxslt')
-rw-r--r-- | abs/core/libxslt/ChangeLog | 9 | ||||
-rw-r--r-- | abs/core/libxslt/PKGBUILD | 30 |
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}/" } |