diff options
-rw-r--r-- | community/libsepol/APKBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/community/libsepol/APKBUILD b/community/libsepol/APKBUILD index d8310350ac..d0d471a2a2 100644 --- a/community/libsepol/APKBUILD +++ b/community/libsepol/APKBUILD @@ -1,28 +1,32 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libsepol -pkgver=2.6 -pkgrel=1 +pkgver=2.8 +pkgrel=0 pkgdesc="SELinux binary policy manipulation library" url="https://github.com/SELinuxProject/selinux/wiki" arch="all" license="LGPL-2.0-or-later" -depends="" depends_dev="bsd-compat-headers" makedepends="$depends_dev flex-dev coreutils" -install="" +options="!check" # tests fail subpackages="$pkgname-dev $pkgname-doc" -source="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014/libsepol-$pkgver.tar.gz +source="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/libsepol-$pkgver.tar.gz " builddir="$srcdir/libsepol-$pkgver" build() { cd "$builddir" - make || return 1 + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -sha512sums="17d007857634e3d581fcc9bafcbb75674a06e382bb258c2c6b3656c141d71493699c42b78c8e1917c628476aeb8ead73bb86e8ccf43d7ce59aa0b7884bea132a libsepol-2.6.tar.gz" +check() { + cd "$builddir" + make test +} + +sha512sums="dd065886819a265cd4f2751ac231a7baa5d7c7735844f3557d5c7e1feb06d4b4d03433d26ff6419b426caf90b69771ee743850fe45d36bc0201cadb86c62189c libsepol-2.8.tar.gz" |