# Maintainer: mehalter # Maintainer: OpenPrivacy # Maintainer: Cyrinux # Maintainer: Quey-Liang Kao pkgname=openscap pkgver=1.3.4 pkgrel=1 pkgdesc="Open Source Security Compliance Solution" # i686 is theoretically bulitable, if anyone needs it arch=('x86_64') url="https://www.open-scap.org/" license=('GPL') # The official site suggested the dependencies in terms of Fedora's rpm. # Some of the corresponding packages in Arch remain unclear, which are listed # here for now. # packege missing: libselinux-devel depends=('swig' 'python' 'acl' 'libcap' 'curl' 'libgcrypt' 'libxml2' 'libxslt' 'libldap' 'pcre' 'bzip2' 'procps-ng' 'gconf' 'perl' 'perl-xml-parser' 'perl-xml-xpath') optdepends=() makedepends=('doxygen' 'automake' 'acl') source=("https://github.com/OpenSCAP/openscap/releases/download/$pkgver/$pkgname-$pkgver.tar.gz") md5sums=('13c3166a4111159e7db4669c87002e6b') build() { cd "$pkgname-$pkgver" mkdir -p build cd build cmake ../ make } # Notice: It may take a long time to complete the check. # check() { # cd "$pkgname-$pkgver" # make check #} package() { cd "$srcdir/${pkgname}-${pkgver}/build" make DESTDIR="$pkgdir/" install }