diff options
Diffstat (limited to 'pcr/apparmor-openrc/PKGBUILD')
-rw-r--r-- | pcr/apparmor-openrc/PKGBUILD | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/pcr/apparmor-openrc/PKGBUILD b/pcr/apparmor-openrc/PKGBUILD deleted file mode 100644 index 90200d530..000000000 --- a/pcr/apparmor-openrc/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: David P. <megver83@parabola.nu> - -pkgname=apparmor-openrc -pkgver=20160816 -pkgrel=2 -pkgdesc="OpenRC apparmor init script" -arch=('any') -url="http://apparmor.net/" -license=('GPL2') -depends=('apparmor' 'openrc') -install='apparmor.install' -_filename='apparmor-init' -source=("https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/apparmor/files/$_filename") -sha256sums=('fb8d7b46e682b452ba3061cca6eaf32b6a8f542208e35ea823e8c9c3bc89f764') - -#pkgver() { -# date +%Y%m%d -#} - -_inst_initd(){ - install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1 - - sed -e 's|#!/sbin/runscript|#!/usr/bin/openrc-run|' \ - -e 's|/var/run|/run|g' \ - -i "${pkgdir}/etc/init.d/$1" - # ^^--- should work without this, but actually does not (at boot) -} - -package() { - mv "$_filename" -v apparmor.initd - _inst_initd 'apparmor' -} |