summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-01 13:18:39 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-02 16:35:28 -0300
commitc1ec84b9f558056cfe420d625754ea28281ab855 (patch)
tree6d8ebf999adf252af47739723db8e84a6360046a /pcr
parente72ed9b48affcd7747805203ee8b6165fc5ccb80 (diff)
icinga2-2.3.4-3: add syntax directory
Diffstat (limited to 'pcr')
-rw-r--r--pcr/icinga2/PKGBUILD8
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" \