diff options
author | Fantix King | 2012-09-23 12:53:47 +0800 |
---|---|---|
committer | Fantix King | 2015-12-29 22:36:30 +0800 |
commit | 045b6c614db3d355de2179233eea09180aad31cd (patch) | |
tree | 6aa54158bb43448abc848c3d0319322055f54b3a | |
download | aur-045b6c614db3d355de2179233eea09180aad31cd.tar.gz |
2.8.0-1.1
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c709193e7c2a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by mksrcinfo v8 +# Tue Dec 29 14:34:50 UTC 2015 +pkgbase = libx32-libxml2 + pkgdesc = XML parsing library, version 2 (x32 ABI) + pkgver = 2.8.0 + pkgrel = 1.1 + url = http://www.xmlsoft.org/ + arch = x86_64 + license = custom + makedepends = gcc-multilib-x32 + depends = libx32-zlib>=1.2.4 + depends = libx32-readline>=6.1 + depends = libx32-ncurses>=5.7 + depends = python2-x32 + depends = libxml2 + options = !libtool + source = ftp://ftp.xmlsoft.org/libxml2/libxml2-2.8.0.tar.gz + md5sums = c62106f02ee00b6437f0fb9d370c1093 + +pkgname = libx32-libxml2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..af01ed37f3d9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z foutrelis $ +# Upstream Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: John Proctor <jproctor@prium.net> +# Maintainer: Fantix King <fantix.king at gmail.com> + +_pkgbasename=libxml2 +pkgname=libx32-$_pkgbasename +pkgver=2.8.0 +pkgrel=1.1 +pkgdesc="XML parsing library, version 2 (x32 ABI)" +arch=(x86_64) +license=('custom') +depends=('libx32-zlib>=1.2.4' 'libx32-readline>=6.1' 'libx32-ncurses>=5.7' 'python2-x32' $_pkgbasename) +makedepends=(gcc-multilib-x32) +options=('!libtool') +url="http://www.xmlsoft.org/" +source=(ftp://ftp.xmlsoft.org/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz) +md5sums=('c62106f02ee00b6437f0fb9d370c1093') + +build() { + export CC="gcc -mx32" + export CXX="g++ -mx32" + export PKG_CONFIG_PATH="/usr/libx32/pkgconfig" + + cd "${srcdir}/${_pkgbasename}-${pkgver}" + autoreconf -fi + ./configure --prefix=/usr --with-threads --with-history --libdir=/usr/libx32 --without-lzma --with-python=/opt/python2-x32 + make +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make DESTDIR="${pkgdir}" install + + rm -rf "${pkgdir}"/usr/{include,share,bin} "$pkgdir/usr/libx32/xml2Conf.sh" + mkdir -p "$pkgdir/usr/share/licenses" + ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" +} |