# Maintainer: Nicolas Iooss (nicolas iooss m4x org) pkgname=secilc pkgver=2.7 pkgrel=1 pkgdesc="SELinux Common Intermediate Language Compiler" groups=('selinux') arch=('i686' 'x86_64') url='https://github.com/SELinuxProject/cil/wiki' license=('custom') makedepends=('xmlto' 'docbook-xml' 'docbook-xsl') depends=('libsepol>=2.7') source=("https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/${pkgname}-${pkgver}.tar.gz") sha256sums=('9ec63dd64645c718f66d33c96299adfe0445b0aa62d7ac8c642f873c570609c5') build() { cd "${pkgname}-${pkgver}" make all } check() { cd "${pkgname}-${pkgver}" make test } package() { cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm 0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }