blob: 28a56be443e0f89676a5789227eda73e6f25d5e3 (
plain) (
tree)
|
|
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=libidn2
pkgver=2.3.2
pkgrel=0
pkgdesc="Free implementation of IDNA2008, Punycode, and TR46"
url="https://gitlab.com/libidn/libidn2"
arch="all"
license="GPL-2.0+ OR LGPL-3.0+"
depends=""
makedepends="libunistring-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://ftp.gnu.org/gnu/libidn/libidn2-$pkgver.tar.gz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-nls \
--disable-valgrind-tests
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="958dbf49a47a84c7627ac182f4cc8ea452696cec3f0d1ff102a6c48e89893e772b2aa81f75da8223dfc6326515cca3ae085268fbf997828de9330c3a351152f1 libidn2-2.3.2.tar.gz"
|