# Maintainer: Nicolas Iooss (nicolas iooss m4x org) # Contributor: Nicky726 (Nicky726 gmail com) # Contributor: Sergej Pupykin (pupykin s+arch gmail com) # # This PKGBUILD is maintained on https://github.com/archlinuxhardened/selinux. # If you want to help keep it up to date, please open a Pull Request there. pkgname=selinux-refpolicy-src _origname=refpolicy pkgver=20231002 pkgrel=1 pkgdesc="SELinux reference policy sources" arch=('any') url="https://github.com/SELinuxProject/refpolicy/wiki" license=('GPL') groups=('selinux' 'selinux-policies') optdepends=('linux-hardened: Linux kernel with SELinux support') makedepends=('python' 'checkpolicy>=3.0' 'policycoreutils>=3.0' 'libsepol>=3.0' 'libsemanage>=3.0') source=("https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_2_${pkgver}/${_origname}-2.${pkgver}.tar.bz2") sha256sums=('c89cd3b2e5d99765cc24536fd8e76de83951ad23e05472350328b5a4f8bee410') package() { cd "${srcdir}/${_origname}" make DESTDIR="${pkgdir}" install-src }