aboutsummaryrefslogtreecommitdiffstats
path: root/community/ospd/APKBUILD
blob: 4893dd0fdf20d423804cc9ce91aa7440db51f2e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd
pkgver=1.3.2
pkgrel=1
pkgdesc="Collection of scanner wrappers for OpenVAS"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
depends="python3 py3-paramiko py3-defusedxml py3-lxml"
makedepends="python3-dev py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/$pkgname/archive/v$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="26ec0b45d74df687264ce2d5e42a6f51cfb982f8fe00863294b990ee8db819b7f54ebf3f095094c32c2bc91a51d987ac83f15f4bf15e931d4ffd215b72ac6bec  ospd-1.3.2.tar.gz"