From 887eaa1f505c054fcd518a7b0121ab2a14df6d64 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Wed, 9 Aug 2017 09:27:51 +0000 Subject: community/icingaweb2-module-director: moved from testing --- community/icingaweb2-module-director/APKBUILD | 56 +++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 community/icingaweb2-module-director/APKBUILD (limited to 'community/icingaweb2-module-director/APKBUILD') diff --git a/community/icingaweb2-module-director/APKBUILD b/community/icingaweb2-module-director/APKBUILD new file mode 100644 index 0000000000..828cf6cca5 --- /dev/null +++ b/community/icingaweb2-module-director/APKBUILD @@ -0,0 +1,56 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=icingaweb2-module-director +_module=${pkgname/*-/} +pkgver=1.3.1 +pkgrel=0 +pkgdesc="Configuration frontend for Icinga 2, integrated automation" +url="http://www.icinga.org" +arch="noarch !armhf" +license="GPL2" +_php=php5 +depends="icingaweb2 ${_php}-curl" +pkggroups="icingaweb2" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/Icinga/$pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + return 0 +} + +package() { + cd "$builddir" + mkdir -p "$pkgdir/etc/icingaweb2/modules/$_module" + mkdir -p "$pkgdir/usr/share/doc/$pkgname" + mkdir -p "$pkgdir/usr/share/webapps/icingaweb2/modules/$_module" + cp -a application library public schema test \ + configuration.php module.info run.php \ + "$pkgdir/usr/share/webapps/icingaweb2/modules/$_module" + cp -a doc "$pkgdir/usr/share/doc/$pkgname" + chgrp -R $pkggroups "$pkgdir/etc/icingaweb2/modules/$_module" + + cat >"$pkgdir"/usr/share/doc/$pkgname/README.alpine <