summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/libidn-static/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/libre/libidn-static/PKGBUILD b/libre/libidn-static/PKGBUILD
new file mode 100644
index 000000000..4fb62f56d
--- /dev/null
+++ b/libre/libidn-static/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+# based of libidn
+
+_pkgname=libidn
+pkgname=libidn-static
+pkgver=1.32
+pkgrel=1
+pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications (static libraries only)"
+url="http://www.gnu.org/software/libidn/"
+arch=('i686' 'x86_64' 'armv7h')
+license=('GPL3' 'LGPL')
+depends=('texinfo-static' 'libidn')
+options=('staticlibs')
+source=(http://ftp.gnu.org/gnu/${_pkgname}/${_pkgname}-${pkgver}.tar.gz)
+sha1sums=('ddd018611b98af7c67d434aa42d15d39f45129f5')
+
+build() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+
+ # remove conflicting files
+ rm -vr ${pkgdir}/usr/{bin,include,lib/pkgconfig,share}
+ rm -v ${pkgdir}/usr/lib/lib*.so*
+}