summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOramahMaalhur2015-07-12 01:48:37 +0300
committerOramahMaalhur2015-07-12 01:48:37 +0300
commit6392d4b63e220b7a83b1ef2a0286327089d28fc2 (patch)
treeb3346c31dce0984dd18d7d472365c1771bbfa16b
downloadaur-6392d4b63e220b7a83b1ef2a0286327089d28fc2.tar.gz
initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD40
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a57213ea3e3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = lib32-libxml
+ pkgdesc = The XML C parser and toolkit of Gnome. Older version (32-bit)
+ pkgver = 1.8.17
+ pkgrel = 1
+ url = http://xmlsoft.org/
+ arch = x86_64
+ license = GPL
+ depends = lib32-zlib
+ options = !libtool
+ source = ftp://xmlsoft.org/libxml2/old/libxml-1.8.17.tar.gz
+ md5sums = 53846294aa850a7d042948176d1d19dc
+
+pkgname = lib32-libxml
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..07d4fd68d38
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: SpepS <dreamspepser at yahoo dot it>
+
+_pkgbasename=libxml
+pkgname=lib32-$_pkgbasename
+pkgver=1.8.17
+pkgrel=1
+pkgdesc="The XML C parser and toolkit of Gnome. Older version (32-bit)"
+arch=(x86_64)
+url="http://xmlsoft.org/"
+license=('GPL')
+depends=('lib32-zlib')
+options=('!libtool')
+source=("ftp://xmlsoft.org/libxml2/old/${_pkgbasename}-${pkgver}.tar.gz")
+md5sums=('53846294aa850a7d042948176d1d19dc')
+
+build() {
+
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${srcdir}/${_pkgbasename}-${pkgver}"
+
+ # build with -D_FORTIFY_SOURCE=2
+ sed -i "s|\(O_WRONLY\))|\1, 0666)|" nanohttp.c
+
+ sed -i -e "32c LT_INIT" -e "20c AM_INIT_AUTOMAKE([1.13 no-define foreign])" -e "3,4c AC_INIT(libxml, 1.8.17) \nAC_CONFIG_HEADERS([config.h])" configure.in
+ autoreconf -fi
+
+ ./configure --prefix=/usr --enable-static=no --libdir=/usr/lib32
+ make
+}
+
+package() {
+ cd "$srcdir/${_pkgbasename}-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: