summaryrefslogtreecommitdiffstats
path: root/abs/core/libxml2
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-19 03:34:02 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-19 03:34:02 (GMT)
commit9ab8773599b45ffeda2d0ed4c2cf1e84d5fd6a65 (patch)
treee91b70951a014c101e98a2aba2bcb81bd7397e6b /abs/core/libxml2
parent673c0286e1723dc02b63cc303f2666f6aceadcad (diff)
downloadlinhes_pkgbuild-9ab8773599b45ffeda2d0ed4c2cf1e84d5fd6a65.zip
linhes_pkgbuild-9ab8773599b45ffeda2d0ed4c2cf1e84d5fd6a65.tar.gz
linhes_pkgbuild-9ab8773599b45ffeda2d0ed4c2cf1e84d5fd6a65.tar.bz2
libxml2: upgrade
Diffstat (limited to 'abs/core/libxml2')
-rw-r--r--abs/core/libxml2/PKGBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/abs/core/libxml2/PKGBUILD b/abs/core/libxml2/PKGBUILD
index d61e61e..60cac4b 100644
--- a/abs/core/libxml2/PKGBUILD
+++ b/abs/core/libxml2/PKGBUILD
@@ -1,28 +1,32 @@
-# $Id: PKGBUILD 73765 2010-03-28 13:12:08Z jgc $
+# $Id: PKGBUILD 87702 2010-08-18 01:57:53Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=libxml2
-pkgver=2.7.7
+pkgver=2.7.8
pkgrel=1
pkgdesc="XML parsing library, version 2"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('custom')
depends=('zlib>=1.2.4' 'readline>=6.1' 'ncurses>=5.7')
-makedepends=('python')
+makedepends=('python2')
options=('!libtool')
url="http://www.xmlsoft.org/"
source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
largefile64.patch)
-md5sums=('9abc9959823ca9ff904f1fbcf21df066'
- '5ad4915665608ebfa5b89f7908467a72')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/largefile64.patch" || return 1
- ./configure --prefix=/usr --with-threads --with-history || return 1
+ patch -Np1 -i "${srcdir}/largefile64.patch"
+ ./configure --prefix=/usr --with-threads --with-history \
+ --with-python=/usr/bin/python2.7
make || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install || return 1
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
+md5sums=('8127a65e8c3b08856093099b52599c86'
+ '5ad4915665608ebfa5b89f7908467a72')