aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openscap-daemon/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-02-18 15:27:34 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-02-18 15:28:22 +0000
commit2a42c82f37393065d9356990e0dcf804d4392781 (patch)
treeed465e3827f8f9d1a22790763a9291bf574088d3 /testing/openscap-daemon/APKBUILD
parent6851114f5b5dd414dd454e46fd9ed8cdfea26842 (diff)
downloadaports-2a42c82f37393065d9356990e0dcf804d4392781.tar.bz2
aports-2a42c82f37393065d9356990e0dcf804d4392781.tar.xz
testing/openscap-daemon: new aport
Diffstat (limited to 'testing/openscap-daemon/APKBUILD')
-rw-r--r--testing/openscap-daemon/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/openscap-daemon/APKBUILD b/testing/openscap-daemon/APKBUILD
new file mode 100644
index 0000000000..cdd7cac404
--- /dev/null
+++ b/testing/openscap-daemon/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=openscap-daemon
+pkgver=0.1.10
+pkgrel=0
+pkgdesc="Manages continuous scans of your infrastructure"
+url="https://www.open-scap.org/tools/openscap-daemon/"
+arch="noarch"
+license="LGPL-2.1-only"
+depends="py3-gobject3"
+makedepends="python3-dev"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/OpenSCAP/$pkgname/archive/$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="93946b390cc95281b606967df783b8be6beb83da9fbca1951f2095dc24abe518440b6f967b29ae2b093536abe9af4effc3776e8d30f0ab2193b923c1bcf54e17 openscap-daemon-0.1.10.tar.gz"