aboutsummaryrefslogtreecommitdiffstats
path: root/community/ospd/APKBUILD
blob: b72d7ea611cebdec943790a7d63f3c66af6762bc (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd
pkgver=2.0.0
pkgrel=0
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="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
    python3 setup.py check
}

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

sha512sums="74714a64b6ad2231d9290ccd1c38e578ae3a38f2fef0d9ad20fced2e6be1407a7d7089cc5ea7c7eb4bd1936a6e6586ab2374851c06a4144eae73b128f74959aa  ospd-2.0.0.tar.gz"