pkgname=libidn pkgver=1.42 pkgrel=1 pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications" arch=('x86_64') url="https://www.gnu.org/software/libidn/" license=('GPL-2.0-or-later' 'LGPL-3.0-or-later') depends=('glibc') source=(https://ftp.gnu.org/gnu/libidn/${pkgname}-${pkgver}.tar.gz) sha256sums=(d6c199dcd806e4fe279360cb4b08349a0d39560ed548ffd1ccadda8cdecb4723) build() { cd ${pkgname}-${pkgver} local configure_args=( --disable-static ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }