summaryrefslogtreecommitdiff
path: root/multilib/lib32-libidn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'multilib/lib32-libidn/PKGBUILD')
-rw-r--r--multilib/lib32-libidn/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/multilib/lib32-libidn/PKGBUILD b/multilib/lib32-libidn/PKGBUILD
new file mode 100644
index 000000000..2f08a81f9
--- /dev/null
+++ b/multilib/lib32-libidn/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Florian Pritz <bluewind@xinu.at>
+_pkgbasename=libidn
+pkgname=lib32-$_pkgbasename
+pkgver=1.22
+pkgrel=2
+pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications (32 bit)"
+url="http://www.gnu.org/software/libidn/"
+arch=('x86_64')
+license=('GPL3' 'LGPL')
+depends=('lib32-glibc' "$_pkgbasename>=$pkgver")
+makedepends=('gcc-multilib')
+options=('!libtool')
+source=(http://ftp.gnu.org/gnu/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
+md5sums=('893a1df0cf3b28b72d248382eaeaca71')
+
+build() {
+ cd ${srcdir}/${_pkgbasename}-${pkgver}
+ ./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc -m32'
+ make
+}
+
+package() {
+ cd ${srcdir}/${_pkgbasename}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ rm -rf ${pkgdir}/usr/{bin,include,share}
+}