# 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* }