diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-05 14:29:08 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-05 14:29:08 +0000 |
commit | 7338a4c2ecb161d10151b430c0ba372a5cf1dae7 (patch) | |
tree | 7d590f1d9d903be788084fbe38eeb6bab2d8b5dc /community | |
parent | 7f5372039869c885c07844be29bb08d88aa58201 (diff) | |
download | aports-7338a4c2ecb161d10151b430c0ba372a5cf1dae7.tar.bz2 aports-7338a4c2ecb161d10151b430c0ba372a5cf1dae7.tar.xz |
community/ospd-acunetix: added check, modernized APKBUILD
Diffstat (limited to 'community')
-rw-r--r-- | community/ospd-acunetix/APKBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/community/ospd-acunetix/APKBUILD b/community/ospd-acunetix/APKBUILD index d01dcf1bed..1731b6444a 100644 --- a/community/ospd-acunetix/APKBUILD +++ b/community/ospd-acunetix/APKBUILD @@ -2,29 +2,30 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=ospd-acunetix pkgver=1.0b1 -pkgrel=1 +pkgrel=2 _pkgid=2181 pkgdesc="OSP server implementation to allow OpenVAS to remotel control nmap port scanner" url="http://www.openvas.org/" arch="noarch" license="GPL" depends="python3" -depends_dev="" -makedepends="$depends_dev cmake" -install="" -subpackages="" +makedepends="cmake" 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" } |