diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-11-07 15:40:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-11-07 15:41:36 +0000 |
commit | db336f202ba008cc097a43a82c4638e3fab88de2 (patch) | |
tree | 1df5b0aea7e99ec316a8221659b2dda15aee346b /testing | |
parent | 01df09b69617e5fb016ffea4ae062da7f48c1309 (diff) | |
download | aports-db336f202ba008cc097a43a82c4638e3fab88de2.tar.bz2 aports-db336f202ba008cc097a43a82c4638e3fab88de2.tar.xz |
testing/megatools: clean up and create a simple check
Diffstat (limited to 'testing')
-rw-r--r-- | testing/megatools/APKBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/testing/megatools/APKBUILD b/testing/megatools/APKBUILD index 57d7ba5af9..8a42c05cb0 100644 --- a/testing/megatools/APKBUILD +++ b/testing/megatools/APKBUILD @@ -7,24 +7,26 @@ pkgdesc="Megatools is a collection of programs for accessing Mega.nz service fro url="https://megatools.megous.com" arch="all" license="GPL2" -depends="libssl1.0" makedepends="curl-dev glib-dev libressl-dev gmp-dev asciidoc" -install="" -options="!check" subpackages="$pkgname-doc" source="https://megatools.megous.com/builds/megatools-1.9.98.tar.gz libressl.patch" builddir="$srcdir/$pkgname-$pkgver" -prepare() { - default_prepare || return -} - build() { cd "$builddir" ./configure --prefix=/usr make } +check() { + cd "$builddir" + make check + for i in megacopy megadf megadl megaget megals megamkdir megaput megareg megarm; do + msg $i + ./$i --version + done +} + package() { cd "$builddir" #make DESTDIR="$pkgdir" install |