new blfs: net-dns/libidn2-2.3.8

This commit is contained in:
2025-12-23 05:15:17 -05:00
parent 80329eadaa
commit fcf55c5dab

View File

@@ -0,0 +1,28 @@
pkgname=libidn2
pkgver=2.3.8
pkgdesc="Free software implementation of IDNA2008, Punycode and TR46"
arch=('x86_64')
homepage="https://www.gnu.org/software/libidn/#libidn2"
license=('GPL2' 'LGPL3')
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
md5sums=("a8e113e040d57a523684e141970eea7a")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr \
--disable-static &&
make
}
src_check() {
make check
}
src_install() {
make DESTDIR="${pkgdir}" install
}