blob: 20ce74b5f620b091363f869d5e4c029410511902 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Nicolas Iooss (nicolas <dot> iooss <at> m4x <dot> org)
pkgname=selinux-alpm-hook
pkgver=0.1
pkgrel=4
pkgdesc="SELinux ALPM hook"
arch=('any')
url="https://github.com/archlinuxhardened/selinux"
license=('GPL')
groups=('selinux')
depends=('policycoreutils>=3.4')
source=('relabel-selinux.hook'
'selinux-alpm-hook')
sha256sums=('4df844a89a50fe1caebe0cb92fc925b3dedf7a1a8258eef53f0dd328c1cc089e'
'6786b7ba2dd6887daef304dbbab425b425ddec611d6df943fce27f13ef95def1')
package() {
cd "${srcdir}"
# Prefix the hook file with "zz-" so that it is run after all other hooks
install -D -m 644 'relabel-selinux.hook' "${pkgdir}/usr/share/libalpm/hooks/zzz-relabel-selinux.hook"
install -D -m 755 'selinux-alpm-hook' "${pkgdir}/usr/share/libalpm/scripts/selinux-alpm-hook"
}
|