blob: 7b11e795f6fe8cc8c16e100355d1a551385f3233 (
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
31
32
33
34
35
36
37
38
39
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=scap-workbench
pkgver=1.2.0
pkgrel=2
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"
|