aboutsummaryrefslogtreecommitdiffstats
path: root/community/ospd
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-05 14:37:50 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-05 14:37:50 +0000
commite5ef1edd95d2d6edb233050ec45919ba753ef71d (patch)
treedb6d95c8a2485f5a34931c0116be86ed6cf0f110 /community/ospd
parent8be760b348ea3420add52701bcc1e7c6f3c78b96 (diff)
downloadaports-e5ef1edd95d2d6edb233050ec45919ba753ef71d.tar.bz2
aports-e5ef1edd95d2d6edb233050ec45919ba753ef71d.tar.xz
community/ospd: added check, modernized APKBUILD
Diffstat (limited to 'community/ospd')
-rw-r--r--community/ospd/APKBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/community/ospd/APKBUILD b/community/ospd/APKBUILD
index b5e87dba64..61ce189cba 100644
--- a/community/ospd/APKBUILD
+++ b/community/ospd/APKBUILD
@@ -3,27 +3,29 @@
pkgname=ospd
pkgver=1.2.0
_pkgid=2401
-pkgrel=1
+pkgrel=2
pkgdesc="Collection of scanner wrappers for OpenVAS"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
depends="python3 py3-paramiko"
-makedepends=""
-install=""
-subpackages=""
+makedepends="python3-dev"
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"
}
md5sums="604df4620621f5ea2004a038a5db3a83 ospd-1.2.0.tar.gz"