blob: 976b5e33ed39825c407e39cae8d9beb000b99e7b (
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
|
# Maintainer: Alex Henrie <alexhenrie24@gmail.com>
pkgname=scap-security-guide-git
pkgver=0.1.61.r10285.g1a50ebd191
pkgrel=1
pkgdesc='Collection of Security Content Automation Protocol policy documents'
arch=('any')
url='https://www.open-scap.org/security-policies/scap-security-guide/'
license=('BSD')
makedepends=('ansible-core' 'ansible-lint' 'bash-bats' 'expat' 'libxml2' 'libxslt' 'linkchecker' 'openscap' 'python' 'python-jinja' 'python-json2html' 'python-pytest' 'python-pytest-cov' 'python-recommonmark' 'python-sphinx' 'python-sphinx_rtd_theme' 'python-yaml' 'shellcheck' 'yamllint')
source=('git+https://github.com/ComplianceAsCode/content.git')
provides=('scap-security-guide')
sha256sums=('SKIP')
pkgver() {
cd content
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
build() {
cd content
mkdir -p build
cd build
cmake --install-prefix=/usr ..
make
}
package() {
cd content/build
make DESTDIR="$pkgdir/" install
}
|