aboutsummaryrefslogtreecommitdiffstats
path: root/community/ospd-paloalto
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-05 14:35:14 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-05 14:35:14 +0000
commit6f80948d30961158e51850e627e42ec0599c995e (patch)
tree58ef8c49204a75ba29846dbd8ff8f136b821a254 /community/ospd-paloalto
parentbcb32c1b692acd019d9dea7c4c9391066b2ed925 (diff)
downloadaports-6f80948d30961158e51850e627e42ec0599c995e.tar.bz2
aports-6f80948d30961158e51850e627e42ec0599c995e.tar.xz
community/ospd-paloalto: added check, modernized APKBUILD
Diffstat (limited to 'community/ospd-paloalto')
-rw-r--r--community/ospd-paloalto/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/community/ospd-paloalto/APKBUILD b/community/ospd-paloalto/APKBUILD
index a60ed0f020..574a9c33d3 100644
--- a/community/ospd-paloalto/APKBUILD
+++ b/community/ospd-paloalto/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-paloalto
pkgver=1.0b1
-pkgrel=2
+pkgrel=3
_pkgid=2149
pkgdesc="OSP server implementation to allow OpenVAS to remotely control a PaloAlto"
url="http://www.openvas.org/"
@@ -10,20 +10,22 @@ arch="noarch"
license="GPL"
depends="python3 ospd"
makedepends="cmake python3-dev"
-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"
}