pkgname=libidn2 pkgver=2.3.7 pkgrel=1 pkgdesc="Free software implementation of IDNA2008, Punycode and TR46" arch=('x86_64') url="https://www.gnu.org/software/libidn/#libidn2" license=('GPL-2.0-or-later' 'LGPL-3.0-or-later') depends=('libunistring') source=(https://ftp.gnu.org/gnu/libidn/${pkgname}-${pkgver}.tar.gz) sha256sums=(4c21a791b610b9519b9d0e12b8097bf2f359b12f8dd92647611a929e6bfd7d64) build() { cd ${pkgname}-${pkgver} local configure_args=( --disable-static ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }