diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-05 14:32:58 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-09-05 14:32:58 +0000 |
commit | c9570f003285455b0c73d446f767978ea7398637 (patch) | |
tree | 77fe9411bfece022e97aa34af40011d1da7a9fe4 /community/ospd-ikescan/APKBUILD | |
parent | ddf37486b89e2a96fde032c69efd22ea13a2918e (diff) | |
download | aports-c9570f003285455b0c73d446f767978ea7398637.tar.bz2 aports-c9570f003285455b0c73d446f767978ea7398637.tar.xz |
community/ospd-ikescan: added check, modernized APKBUILD
Diffstat (limited to 'community/ospd-ikescan/APKBUILD')
-rw-r--r-- | community/ospd-ikescan/APKBUILD | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/community/ospd-ikescan/APKBUILD b/community/ospd-ikescan/APKBUILD index 95018bc2d1..e6b7fc28fc 100644 --- a/community/ospd-ikescan/APKBUILD +++ b/community/ospd-ikescan/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=ospd-ikescan pkgver=1.0b1 -pkgrel=2 +pkgrel=3 _pkgid=2185 pkgdesc="OSP server implementation to allow OpenVAS to remotely control a ike-scan scanner" url="http://www.openvas.org/" @@ -10,24 +10,22 @@ arch="noarch" license="GPL" depends="python3 ospd py3-pexpect" 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" } - - -md5sums="e95a89454c1bca370b989f2f8d3c3b61 ospd-ikescan-1.0b1.tar.gz" -sha256sums="24a268c508a55b30a492dde732d8910be92da0954797d9b3efa2631117305500 ospd-ikescan-1.0b1.tar.gz" sha512sums="4035656008d9cae579a836a4d69a7d1d2b5a45610fcfdab9b4311c942788bf4dc10b8db1dba6325fb162b4dd19cd3a522f44cff1d70152af7bfb096095a00e60 ospd-ikescan-1.0b1.tar.gz" |