apparmor: merge apparmor-vim

This commit is contained in:
Đoàn Trần Công Danh 2021-06-23 23:37:47 +07:00 committed by Érico Nogueira Rolim
parent 57b9911f7b
commit c126f91284
2 changed files with 2 additions and 11 deletions

View file

@ -1 +0,0 @@
apparmor

View file

@ -1,7 +1,7 @@
# Template file for 'apparmor'
pkgname=apparmor
version=3.0.1
revision=4
revision=5
wrksrc="${pkgname}-v${version}"
build_wrksrc=libraries/libapparmor
build_style=gnu-configure
@ -18,6 +18,7 @@ homepage="https://gitlab.com/apparmor/apparmor"
changelog="https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_${version}"
distfiles="https://gitlab.com/apparmor/apparmor/-/archive/v${version}/apparmor-v${version}.tar.gz"
checksum=5f9afc157c5e2610737186a31fc9bd6a1d339a2ee85ac4f2667dce59cf60f1c7
replaces="apparmor-vim>=0"
if [ -z "$CROSS_BUILD" ]; then
configure_args="--with-perl --with-python"
@ -64,15 +65,6 @@ post_install() {
rm ${DESTDIR}/etc/apparmor.d/{,local/}php-fpm
}
apparmor-vim_package() {
short_desc+=" - Vim syntax"
depends="vim"
pkg_install() {
vmove usr/share/vim/vimfiles/syntax/apparmor.vim
vmove usr/share/man/man5/apparmor.vim.5
}
}
libapparmor_package() {
short_desc+=" - Library"
pkg_install() {