aboutsummaryrefslogtreecommitdiffstats
path: root/main/intltool/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-17 04:47:32 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-08-28 08:40:48 +0000
commit4555e742224f9c970f1ab9f3e35adb6507d9ca97 (patch)
tree582b4dfb46b24da6efd154e737ab203f8f11842f /main/intltool/APKBUILD
parent836b98b3c7314d216566a7f1bfba21a6996905ae (diff)
downloadaports-4555e742224f9c970f1ab9f3e35adb6507d9ca97.tar.bz2
aports-4555e742224f9c970f1ab9f3e35adb6507d9ca97.tar.xz
main/intltool: add test suite, modernise
Diffstat (limited to 'main/intltool/APKBUILD')
-rw-r--r--main/intltool/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/intltool/APKBUILD b/main/intltool/APKBUILD
index 6179e3e6d8..f79b63b196 100644
--- a/main/intltool/APKBUILD
+++ b/main/intltool/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=intltool
pkgver=0.51.0
-pkgrel=2
+pkgrel=3
pkgdesc="The internationalization tool collection"
url="http://freedesktop.org/wiki/Software/intltool"
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" install || return 1
+ make DESTDIR="$pkgdir" install
}
sha512sums="4c93cb26592ed0b1622d3b7800b5d6622ffa36f58ac73f2ef0bddfab522565fdfb8fa73d81914b9a202f1d62bc995a08960f8adb9f62c86918e75498e85fbfdf intltool-0.51.0.tar.gz