# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-debsecan
pkgver=1.2b1
pkgrel=1
_pkgid=2405
pkgdesc="OSP server implementation to allow OpenVAS to remotely control a debsecan scanner"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
depends="python3 ospd"
makedepends="cmake py3-paramiko"
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}



sha512sums="f86f72713dda710c4b7975ed78dc26c664dcbcd5e77e7cab227416748982e29b7e22259fbf5c790a6c7d620234fc38e2c921555900b323f1bf57179ff472dcc3  ospd-debsecan-1.2b1.tar.gz"
