diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-05 14:31:13 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-05 14:31:13 +0000 |
commit | 2885b93b6f47ed99c31b4291248e4b910a29a6e9 (patch) | |
tree | 7f927bbace29be15ccefc0be119a0d529d7ba0e2 /community/ospd-debsecan | |
parent | 8b409c8009e9c99338f8454d627dd5d67d7407f6 (diff) | |
download | aports-2885b93b6f47ed99c31b4291248e4b910a29a6e9.tar.bz2 aports-2885b93b6f47ed99c31b4291248e4b910a29a6e9.tar.xz |
community/ospd-debsecan: added check, modernized APKBUILD
Diffstat (limited to 'community/ospd-debsecan')
-rw-r--r-- | community/ospd-debsecan/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/community/ospd-debsecan/APKBUILD b/community/ospd-debsecan/APKBUILD index 9f6e639d35..e6599de8d8 100644 --- a/community/ospd-debsecan/APKBUILD +++ b/community/ospd-debsecan/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=ospd-debsecan pkgver=1.2b1 -pkgrel=0 +pkgrel=1 _pkgid=2405 pkgdesc="OSP server implementation to allow OpenVAS to remotely control a debsecan scanner" url="http://www.openvas.org/" @@ -16,12 +16,17 @@ 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" } |