# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd
pkgver=1.2.0
_pkgid=2401
pkgrel=2
pkgdesc="Collection of scanner wrappers for OpenVAS"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
depends="python3 py3-paramiko"
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
}

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

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

md5sums="604df4620621f5ea2004a038a5db3a83  ospd-1.2.0.tar.gz"
sha256sums="af99f02198e17ae1cbb992bc32b62e60b6fb5b8b99574c984bf563e6acd89424  ospd-1.2.0.tar.gz"
sha512sums="69ec2c88b21acf2610d1a5a384f6a4d18ccd8773cc1d8208030bf3308e47732b8998ea44e543a01b28b60fe026dd7cc51bc26aec2041ad00c7d58222a429a783  ospd-1.2.0.tar.gz"
