2023-03-11 02:51:53 +01:00

34 lines
768 B
Plaintext

# Contributor: Tycho Andersen <tycho@docker.com>
# Maintainer: Tycho Andersen <tycho@docker.com>
pkgname=libsemanage
pkgver=3.5
pkgrel=0
pkgdesc="SELinux binary policy manipulation library"
url="https://github.com/SELinuxProject/selinux/wiki"
arch="all"
license="LGPL-2.0-or-later"
makedepends="
libselinux-dev
libsepol-dev
bzip2-dev
audit-dev
bison
flex
python3
"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/SELinuxProject/selinux/releases/download/$pkgver/libsemanage-$pkgver.tar.gz"
build() {
make PYTHON=python3
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
959fbd0d6bc6849da6caa13dc41c3f8818cbbd29f04b5d2ac7246c4b395b4f370f113a04cc9cfcb52be2afebfa636013ac4ad4011384c58c7ce066a45cae2751 libsemanage-3.5.tar.gz
"