aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-02-18 15:28:17 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-02-18 15:28:22 +0000
commit14004aa5e0e15391af9ca24aecacd91b997069c9 (patch)
treea83e872eb59e85ae61a416733cba327ed2c927fa
parent2a42c82f37393065d9356990e0dcf804d4392781 (diff)
downloadaports-14004aa5e0e15391af9ca24aecacd91b997069c9.tar.bz2
aports-14004aa5e0e15391af9ca24aecacd91b997069c9.tar.xz
testing/scap-workbench: new aport
-rw-r--r--testing/scap-workbench/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/scap-workbench/APKBUILD b/testing/scap-workbench/APKBUILD
new file mode 100644
index 0000000000..b1f3f86b01
--- /dev/null
+++ b/testing/scap-workbench/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=scap-workbench
+pkgver=1.2.0
+pkgrel=0
+pkgdesc="SCAP Scanner And Tailoring Graphical User Interface"
+url="https://www.open-scap.org/tools/scap-workbench/"
+arch="all"
+license="GPL-3.0"
+depends="openssh-askpass util-linux openssh-client polkit"
+makedepends="qt5-qtbase-dev qt5-qtxmlpatterns-dev openscap-dev cmake asciidoctor"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/OpenSCAP/$pkgname/archive/$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ default_prepare
+ cd "$builddir"
+ mkdir -p build
+}
+build() {
+ cd "$builddir"/build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ ..
+ make
+}
+
+check() {
+ cd "$builddir"/build
+ return 0
+}
+
+package() {
+ cd "$builddir"/build
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="c766b3a93721a2abc52cd47f44f9ed4b1ad02c733ef89dfb3f368f0f3e016c39b188f6ba29e06f1d3ca3b1b6cdc17e057a80198b105e94c60e484acafd7e1373 scap-workbench-1.2.0.tar.gz"