APKBUILD 957 Bytes
Newer Older
Francesco Colista's avatar
Francesco Colista committed
1 2 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd
4 5
pkgver=1.2.0
_pkgid=2401
6
pkgrel=1
Francesco Colista's avatar
Francesco Colista committed
7 8 9 10
pkgdesc="Collection of scanner wrappers for OpenVAS"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
11 12
depends="python3 py3-paramiko"
makedepends=""
Francesco Colista's avatar
Francesco Colista committed
13 14
install=""
subpackages=""
15
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"
Francesco Colista's avatar
Francesco Colista committed
16

17
builddir="$srcdir"/$pkgname-$pkgver
Francesco Colista's avatar
Francesco Colista committed
18 19

build() {
20 21
	cd "$builddir"
	python3 setup.py build || return 1
Francesco Colista's avatar
Francesco Colista committed
22 23 24
}

package() {
25 26
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
Francesco Colista's avatar
Francesco Colista committed
27 28
}

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