diff options
-rw-r--r-- | pcr/icinga2/PKGBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pcr/icinga2/PKGBUILD b/pcr/icinga2/PKGBUILD index 02b36f3c3..d2c966c3e 100644 --- a/pcr/icinga2/PKGBUILD +++ b/pcr/icinga2/PKGBUILD @@ -3,7 +3,7 @@ pkgname=icinga2 pkgver=2.3.4 -pkgrel=1 +pkgrel=3 pkgdesc="A libre host, service and network monitoring program." license=('GPL') arch=('i686' 'x86_64') @@ -60,6 +60,12 @@ package() { d /run/icinga2/cmd 2750 icinga icingacmd - EOF + cd "$srcdir/$pkgname-$pkgver" + + install -Dm644 tools/syntax/vim/ftdetect/icinga2.vim "$pkgdir/usr/share/vim/vimfiles/ftdetect/icinga2.vim" + install -Dm644 tools/syntax/vim/syntax/icinga2.vim "$pkgdir/usr/share/vim/vimfiles/syntax/icinga2.vim" + install -Dm644 tools/syntax/nano/icinga2.nanorc "$pkgdir/usr/share/nano/icinga2.nanorc" + chmod 750 "$pkgdir/etc/icinga2" \ "$pkgdir/var/lib/icinga2" \ "$pkgdir/var/spool/icinga2" \ |