From a5a15f7c2109c1187a910246b496c2fa5bc10bf8 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Wed, 20 Apr 2016 20:43:16 -0300 Subject: libidn-static: add new package to [libre] --- libre/libidn-static/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 libre/libidn-static/PKGBUILD 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 +# 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* +} -- cgit v1.2.3-54-g00ecf