diff options
author | root <root@rshg054.dnsready.net> | 2013-11-05 00:47:11 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-11-05 00:47:11 -0800 |
commit | 4525bb3909f233fd13dbfb43aa6ff4e64e8340d9 (patch) | |
tree | add2024759bc7a18fc8d7f4101dc5d5d9b3e1e44 /extra/libxml2 | |
parent | 058983fb5cb16dbb25368dd464cbcf27205b3f93 (diff) |
Tue Nov 5 00:46:51 PST 2013
Diffstat (limited to 'extra/libxml2')
-rw-r--r-- | extra/libxml2/PKGBUILD | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/extra/libxml2/PKGBUILD b/extra/libxml2/PKGBUILD index 28c6ba072..f57bfee15 100644 --- a/extra/libxml2/PKGBUILD +++ b/extra/libxml2/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 198739 2013-11-02 17:33:56Z heftig $ +# $Id: PKGBUILD 198786 2013-11-04 14:26:01Z heftig $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Maintainer: Tom Gundersen <teg@jklm.no> # Contributor: John Proctor <jproctor@prium.net> pkgname=libxml2 pkgver=2.9.1 -pkgrel=4 +pkgrel=5 pkgdesc="XML parsing library, version 2" arch=(i686 x86_64) license=('MIT') depends=('zlib' 'readline' 'ncurses' 'xz') -makedepends=('python' 'python2') +makedepends=('python2') url="http://www.xmlsoft.org/" source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz http://www.w3.org/XML/Test/xmlts20080827.tar.gz) @@ -18,34 +18,24 @@ md5sums=('9c0cfef285d5c4a5c80d00904ddab380' 'ae3d1ebe000a3972afa104ca7f0e1b4a') prepare() { - mv xmlconf -t ${pkgname}-${pkgver} - cp -a ${pkgname}-${pkgver} python3 - cd ${pkgname}-${pkgver} sed -e 's|/usr/bin/python -u|/usr/bin/python2 -u|g' -e 's|/usr/bin/python$|/usr/bin/python2|g' -i python/tests/*.py + mv ../xmlconf . } build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --with-threads --with-history --with-python=/usr/bin/python2 make - - cd ../python3 - ./configure --prefix=/usr --with-threads --with-history --with-python=/usr/bin/python3 - make } check() { cd ${pkgname}-${pkgver} make check - cd ../python3 - make check } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" - cd ../python3/python - make DESTDIR="${pkgdir}" install } |