aboutsummaryrefslogtreecommitdiffstats
path: root/main/iso-codes
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-09 18:38:56 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-10 02:51:33 +0000
commit71df78efacb266fca72fea02ad150326e47871ec (patch)
tree4348524149a95b9548bb81fd614ef495ea11e7ea /main/iso-codes
parente6fe0c6dadaa0838c9cb57314405c6f8ec58f6ca (diff)
downloadaports-71df78efacb266fca72fea02ad150326e47871ec.tar.bz2
aports-71df78efacb266fca72fea02ad150326e47871ec.tar.xz
main/iso-codes: add test suite, modernise
Diffstat (limited to 'main/iso-codes')
-rw-r--r--main/iso-codes/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/iso-codes/APKBUILD b/main/iso-codes/APKBUILD
index 1de3e56499..3ea57a0d7e 100644
--- a/main/iso-codes/APKBUILD
+++ b/main/iso-codes/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iso-codes
pkgver=3.75
-pkgrel=0
+pkgrel=1
pkgdesc="Lists of the country, language, and currency names"
url="http://pkg-isocodes.alioth.debian.org/"
arch="noarch"
@@ -17,14 +17,18 @@ build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install || return 1
+ make DESTDIR="$pkgdir" pkgconfigdir=/usr/lib/pkgconfig install
}
sha512sums="157899048cec091864ad8a7723314e28a0ccc4a0e1a5c2101bb630baf1a034bf117e38263e3c95e0135ba9d3a4d76635c8201c50a54e25f6af24c87253b8b40e iso-codes-3.75.tar.xz"