aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-11-05 19:06:54 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2017-11-05 19:28:27 +0100
commit5d2fc64b54a1cd30df8993763885de03c61be356 (patch)
treedd30d0e18f54aed2c4340327e1325497ae258abe
parent36111b426df76a9a8929bac0f49a221a19df06ae (diff)
downloadaports-5d2fc64b54a1cd30df8993763885de03c61be356.tar.bz2
aports-5d2fc64b54a1cd30df8993763885de03c61be356.tar.xz
community/calcurse: add check
-rw-r--r--community/calcurse/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/calcurse/APKBUILD b/community/calcurse/APKBUILD
index c3b9bcaaf4..e8f287c035 100644
--- a/community/calcurse/APKBUILD
+++ b/community/calcurse/APKBUILD
@@ -3,12 +3,12 @@
# Maintainer:
pkgname=calcurse
pkgver=4.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="A text-based personal organizer"
url="http://calcurse.org/"
license="BSD"
arch="all"
-makedepends="ncurses-dev"
+makedepends="ncurses-dev tzdata"
subpackages="$pkgname-doc"
source="http://calcurse.org/files/${pkgname}-${pkgver}.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
@@ -27,6 +27,10 @@ build() {
make
}
+check() {
+ make -j1 -C "$builddir" check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install