# Maintainer: Nicolas Iooss (nicolas iooss m4x org) # Contributor: Timothée Ravier # 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=libsepol pkgver=3.5 pkgrel=1 pkgdesc="SELinux binary policy manipulation library" arch=('i686' 'x86_64' 'armv6h' 'aarch64') url='https://github.com/SELinuxProject/selinux' license=('LGPL2.1') groups=('selinux') makedepends=('flex') depends=('glibc') options=(staticlibs) conflicts=("selinux-usr-${pkgname}") provides=("selinux-usr-${pkgname}=${pkgver}-${pkgrel}") validpgpkeys=( '63191CE94183098689CAB8DB7EF137EC935B0EAF' # Jason Zaman 'E853C1848B0185CF42864DF363A8AD4B982C4373' # Petr Lautrbach ) source=("https://github.com/SELinuxProject/selinux/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc}) sha256sums=('78fdaf69924db780bac78546e43d9c44074bad798c2c415d0b9bb96d065ee8a2' 'SKIP') build() { cd "${pkgname}-${pkgver}" export CFLAGS="${CFLAGS} -fno-semantic-interposition" make } package() { cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" SHLIBDIR=/usr/lib install }