aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-20 02:39:44 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-20 02:44:50 +0000
commitc3f30921702562bc8389d4f4614a9465e2f4dfdb (patch)
tree787fd6eda8e13e97b7fbb6afdb413381073702c7
parentcb69bc0b4cb1e4cbb05963f051fd2ddc2f013ebb (diff)
downloadaports-c3f30921702562bc8389d4f4614a9465e2f4dfdb.tar.gz
aports-c3f30921702562bc8389d4f4614a9465e2f4dfdb.tar.bz2
aports-c3f30921702562bc8389d4f4614a9465e2f4dfdb.tar.xz
community/zziplib: add check
-rw-r--r--community/zziplib/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/community/zziplib/APKBUILD b/community/zziplib/APKBUILD
index eff4d6f3b4..d406a43f92 100644
--- a/community/zziplib/APKBUILD
+++ b/community/zziplib/APKBUILD
@@ -2,12 +2,13 @@
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=zziplib
pkgver=0.13.67
-pkgrel=0
+pkgrel=1
pkgdesc="Lightweight library to easily extract data from zip files"
url="http://zziplib.sourceforge.net"
arch="all"
license="LGPL2+ MPL-1.1"
makedepends="zlib-dev python2 xmlto"
+checkdepends="zip"
subpackages="$pkgname-dev $pkgname-doc $pkgname-utils"
source="$pkgname-$pkgver.tar.gz::https://github.com/gdraheim/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
@@ -25,6 +26,11 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install