blob: 573bb2748a0b1fe4a8155d9e6dd8e387e83c4fef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Julian Brost <julian@0x4a42.net>
# Contributor: Malte Rabenseifner <mail@malte-rabenseifner.de>
pkgname=icingaweb2
pkgver=2.12.1
pkgrel=1
pkgdesc="Icinga Web 2 Interface"
license=('GPL')
arch=('any')
depends=('php' 'icinga-php-library>=0.9.0' 'icinga-php-thirdparty>=0.11.0')
optdepends=('php-gd: export data to PDF'
'php-imagick: graphs in PDF exports'
'php-intl: support for internationalization'
'php-pgsql: for PostgreSQL backend')
url="https://icinga.com/"
source=("$pkgname-$pkgver.tar.gz::https://github.com/Icinga/icingaweb2/archive/v$pkgver.tar.gz")
install='icingaweb2.install'
sha256sums=('4640b8cf38265c9c74689701c5e8e1a3b1938ad1ac9ad71674393d2ff3c2dc7f')
package() {
cd "$srcdir/$pkgname-$pkgver"
#mkdir -p "$pkgdir/etc/webapps/icingaweb2"
mkdir -p "$pkgdir/etc/icingaweb2"
mkdir -p "$pkgdir/usr/bin"
mkdir -p "$pkgdir/usr/share/webapps/icingaweb2"
mkdir -p "$pkgdir/var/log/icingaweb2"
cp -r application bin doc library modules public schema "$pkgdir/usr/share/webapps/icingaweb2"
ln -s /usr/share/webapps/icingaweb2/bin/icingacli "$pkgdir/usr/bin/icingacli"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/icingaweb2/LICENSE"
install -Dm644 etc/bash_completion.d/icingacli "$pkgdir/etc/bash_completion.d/icingacli"
#chmod 2770 "$pkgdir/etc/webapps/icingaweb2"
chmod 2770 "$pkgdir/etc/icingaweb2"
chmod 2770 "$pkgdir/var/log/icingaweb2"
}
|