29 lines
590 B
Plaintext
29 lines
590 B
Plaintext
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
|
|
}
|
|
|