diff options
author | Alex Henrie | 2023-09-08 19:11:28 -0600 |
---|---|---|
committer | Alex Henrie | 2023-09-08 19:11:28 -0600 |
commit | dd0a07bdf09562bba8b3a6896530daa8b4a6795c (patch) | |
tree | c954c24a984031de19c595b1f37daa4003f51044 | |
download | aur-scap-workbench.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c1bb3822592a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = scap-workbench + pkgdesc = Security Content Automation Protocol GUI + pkgver = 1.2.1 + pkgrel = 1 + url = https://www.open-scap.org/tools/scap-workbench/ + arch = x86_64 + license = BSD + depends = asciidoc + depends = openscap + depends = openssh + depends = qt5-base + depends = qt5-xmlpatterns + depends = scap-security-guide + source = https://github.com/OpenSCAP/scap-workbench/releases/download/1.2.1/scap-workbench-1.2.1.tar.bz2 + sha256sums = d1508461d0e841cf8b8063877904b8b4bb0dae26c6c5370e47e0255157fdb84f + +pkgname = scap-workbench diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..82f69218b605 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Alex Henrie <alexhenrie24@gmail.com> +pkgname=scap-workbench +pkgver=1.2.1 +pkgrel=1 +pkgdesc="Security Content Automation Protocol GUI" +arch=('x86_64') +url='https://www.open-scap.org/tools/scap-workbench/' +license=('BSD') +depends=('asciidoc' 'openscap' 'openssh' 'qt5-base' 'qt5-xmlpatterns' 'scap-security-guide') +source=("https://github.com/OpenSCAP/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2") +sha256sums=('d1508461d0e841cf8b8063877904b8b4bb0dae26c6c5370e47e0255157fdb84f') + +build() { + cd "$pkgname-$pkgver" + mkdir -p build + cd build + cmake \ + --install-prefix=/usr \ + -DCMAKE_CXX_FLAGS='-std=c++11 -Wno-error=c++20-compat -Wno-error=range-loop-construct -Wno-error=deprecated-declarations' \ + .. + make +} + +package() { + cd "$pkgname-$pkgver/build" + make DESTDIR="$pkgdir/" install +} |