summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-20 20:43:16 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-22 02:22:33 -0300
commita5a15f7c2109c1187a910246b496c2fa5bc10bf8 (patch)
tree05002ea4984892ec95c0614b88b2fafcf381a255
parentea4bb69ea67616413aece78a7c7c44a8489d5fa0 (diff)
libidn-static: add new package 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*
+}