# Maintainer: Natanael Copa pkgname=libsepol pkgver=2.6 pkgrel=0 pkgdesc="SELinux binary policy manipulation library " url="https://github.com/SELinuxProject/selinux/wiki" arch="all" license="LGPLv2+" depends="" depends_dev="bsd-compat-headers" makedepends="$depends_dev flex-dev" install="" subpackages="$pkgname-dev $pkgname-doc" source="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014/libsepol-$pkgver.tar.gz symlink.patch " builddir="$srcdir/libsepol-$pkgver" build() { cd "$builddir" make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="17d007857634e3d581fcc9bafcbb75674a06e382bb258c2c6b3656c141d71493699c42b78c8e1917c628476aeb8ead73bb86e8ccf43d7ce59aa0b7884bea132a libsepol-2.6.tar.gz e9c3d2b09963c4a7b2a82fe8150e5cbc1497305eec4cad4cd61f1f5466a6fc0f495d13efeef834c14ab0c8b3b6e034a4616038ff4b3e96e9373c68a5b30d843d symlink.patch"