aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-05 14:34:27 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-05 14:34:27 +0000
commitbcb32c1b692acd019d9dea7c4c9391066b2ed925 (patch)
treeec4e20ad40b9b84c252d32660dbc0a14f132416e /community
parent17c98cfe5898e2f1e55dc9d8dba14a887fd9975f (diff)
downloadaports-bcb32c1b692acd019d9dea7c4c9391066b2ed925.tar.bz2
aports-bcb32c1b692acd019d9dea7c4c9391066b2ed925.tar.xz
community/ospd-ovaldi: added check, modernized APKBUILD
Diffstat (limited to 'community')
-rw-r--r--community/ospd-ovaldi/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/community/ospd-ovaldi/APKBUILD b/community/ospd-ovaldi/APKBUILD
index 22787396f2..f483f7bc02 100644
--- a/community/ospd-ovaldi/APKBUILD
+++ b/community/ospd-ovaldi/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-ovaldi
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
_pkgid=2003
pkgdesc="OSP server implementation to allow OpenVAS to remotely control ovaldi scanners"
url="http://openvas.org/"
@@ -10,20 +10,22 @@ arch="noarch"
license="GPLV2+"
depends="python3 ospd"
makedepends="python3-dev py3-paramiko"
-install=""
-subpackages=""
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"
-
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
- python3 setup.py build || return 1
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py check
}
package() {
cd "$builddir"
- python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}