Commit fe9be421 authored by Drew DeVault's avatar Drew DeVault Committed by Kevin Daudt

main/libidn2: new APKBUILD

Based on main/libidn.
parent dae4015e
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=libidn2
pkgver=2.2.0
pkgrel=0
pkgdesc="Encode/Decode library for internationalized domain names"
url="https://www.gnu.org/software/libidn#libidn2"
arch="all"
license="GPL-2.0-or-later GPL-3.0-or-later LGPL-3.0-or-later"
makedepends="libunistring-dev"
checkdepends="diffutils"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-nls
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
# only keep man pages
rm -rf "$pkgdir"/usr/share/info
}
sha512sums="ccf56056a378d49a28ff67a2a23cd3d32ce51f86a78f84839b98dad709a1d0d03ac8d7c1496f0e4d3536bca00e3d09d34d76a37317b2ce87e3aa66bdf4e877b8 libidn2-2.2.0.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment