projects/aports·blob master · refs

36 lines · 744 B

1maintainer="Achill Gilgenast <[email protected]>"
2pkgname=mcstrans
3pkgver=3.11
4pkgrel=0
5pkgdesc="Label translation daemon to support MLS systems"
6url="https://github.com/SELinuxProject/selinux"
7arch="all"
8license="GPL-2.0-or-later"
9makedepends="
10 libselinux-dev
11 libcap-dev
12 linux-headers
13 "
14subpackages="
15 $pkgname-doc
16 $pkgname-systemd
17 "
18source="https://github.com/SELinuxProject/selinux/releases/download/$pkgver/mcstrans-$pkgver.tar.gz"
19
20build() {
21 make
22}
23
24check() {
25 make test
26}
27
28package() {
29 make DESTDIR="$pkgdir" SBINDIR=/usr/sbin install
30
31 rm -r "$pkgdir"/etc/rc.d
32}
33
34sha512sums="
35bc6ee5eb93518a6b41ac8775927bbf4a9d4a5be837feb8f1bbdc5105bcc94843d94c40dd172c0bd621e5d793c9dc1e588be64d6fe67ec8a33730bce10bcde79a mcstrans-3.11.tar.gz
36"