diff options
Diffstat (limited to 'main/libidn/APKBUILD')
-rw-r--r-- | main/libidn/APKBUILD | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/main/libidn/APKBUILD b/main/libidn/APKBUILD index 69b84c40c6..599c56d1cf 100644 --- a/main/libidn/APKBUILD +++ b/main/libidn/APKBUILD @@ -2,16 +2,19 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libidn pkgver=1.33 -pkgrel=0 +pkgrel=1 pkgdesc="An encode and decode library for internationalized domain names" url="http://www.gnu.org/software/libidn/" arch="all" license="GPL" depends= makedepends= +checkdepends="diffutils" install= subpackages="$pkgname-doc $pkgname-dev" -source="http://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz" +source="http://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz + localename-test-fix.patch + " builddir="$srcdir/$pkgname-$pkgver" @@ -22,11 +25,6 @@ builddir="$srcdir/$pkgname-$pkgver" # - CVE-2016-6262 # - CVE-2016-6263 -prepare() { - cd "$builddir" - return 0 -} - build() { cd "$builddir" @@ -37,16 +35,19 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --disable-nls \ - || return 1 - make || return 1 + --disable-nls + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="a9aa7e003665de9c82bd3f9fc6ccf308 libidn-1.33.tar.gz" -sha256sums="44a7aab635bb721ceef6beecc4d49dfd19478325e1b47f3196f7d2acc4930e19 libidn-1.33.tar.gz" -sha512sums="38dd459eaeda0c9e3cc2d24d967113515a499747550a2a9157f32357def90d71a3a3b52398e96a44a28cd5948dc353b0473c4ff0453a69720191c4cb49cac2c6 libidn-1.33.tar.gz" +sha512sums="38dd459eaeda0c9e3cc2d24d967113515a499747550a2a9157f32357def90d71a3a3b52398e96a44a28cd5948dc353b0473c4ff0453a69720191c4cb49cac2c6 libidn-1.33.tar.gz +8251a6543a93db357181121d2f3895dd15d47b97e7c6b0004b1534f0479f8b08c380d184cb024dde9a158b967fad0643ea2a793e88bf90f07f3e67146ebab190 localename-test-fix.patch" |