aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/megatools/APKBUILD16
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