apparmor: merge apparmor-vim
This commit is contained in:
parent
57b9911f7b
commit
c126f91284
|
@ -1 +0,0 @@
|
||||||
apparmor
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'apparmor'
|
# Template file for 'apparmor'
|
||||||
pkgname=apparmor
|
pkgname=apparmor
|
||||||
version=3.0.1
|
version=3.0.1
|
||||||
revision=4
|
revision=5
|
||||||
wrksrc="${pkgname}-v${version}"
|
wrksrc="${pkgname}-v${version}"
|
||||||
build_wrksrc=libraries/libapparmor
|
build_wrksrc=libraries/libapparmor
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -18,6 +18,7 @@ homepage="https://gitlab.com/apparmor/apparmor"
|
||||||
changelog="https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_${version}"
|
changelog="https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_${version}"
|
||||||
distfiles="https://gitlab.com/apparmor/apparmor/-/archive/v${version}/apparmor-v${version}.tar.gz"
|
distfiles="https://gitlab.com/apparmor/apparmor/-/archive/v${version}/apparmor-v${version}.tar.gz"
|
||||||
checksum=5f9afc157c5e2610737186a31fc9bd6a1d339a2ee85ac4f2667dce59cf60f1c7
|
checksum=5f9afc157c5e2610737186a31fc9bd6a1d339a2ee85ac4f2667dce59cf60f1c7
|
||||||
|
replaces="apparmor-vim>=0"
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
configure_args="--with-perl --with-python"
|
configure_args="--with-perl --with-python"
|
||||||
|
@ -64,15 +65,6 @@ post_install() {
|
||||||
rm ${DESTDIR}/etc/apparmor.d/{,local/}php-fpm
|
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() {
|
libapparmor_package() {
|
||||||
short_desc+=" - Library"
|
short_desc+=" - Library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Reference in New Issue