blob: beb73875afcd8b8a6f2c11fa917b6adc0821179b (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Maintainer: Donien <donien.96@hotmail.com>
pkgname="icingadb-web"
pkgver="1.1.3"
pkgrel=1
epoch=0
pkgdesc="Provides a graphical interface to your Icinga monitoring "
arch=("any")
url="https://github.com/Icinga/icingadb-web"
license=("GPL")
groups=()
depends=(
"icingaweb2>=2.9"
"icinga-php-library>=0.14.1"
"icinga-php-thirdparty>=0.12"
)
makedepends=()
optdepends=()
provides=(
"icingadb-web"
"icingaweb2-module-icingadb"
)
conflicts=()
replaces=()
backup=(
"etc/icingaweb2/modules/icingadb/commandtransports.ini"
"etc/icingaweb2/modules/icingadb/config.ini"
"etc/icingaweb2/modules/icingadb/redis.ini"
)
options=()
install="icingadb-web.install"
changelog="icingadb-web.changelog"
source=(
"https://github.com/Icinga/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz"
"commandtransports.ini"
"config.ini"
"redis.ini"
)
noextract=()
sha256sums=(
"40e8ce5b5ccad2bccd8866f96572e1b5c5c939b3b58e521a3ed7afd3e044f311"
"SKIP"
"SKIP"
"SKIP"
)
package() {
install -dm2770 "${pkgdir}/etc/icingaweb2"
install -dm2770 "${pkgdir}/etc/icingaweb2/modules/icingadb"
for config in commandtransports.ini config.ini redis.ini
do
install -m660 "${config}" "${pkgdir}/etc/icingaweb2/modules/icingadb/${config}"
done
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/icingadb-web/LICENSE"
install -dm755 "${pkgdir}/usr/share/webapps/icingaweb2/modules/icingadb/"
for part in \
application \
configuration.php \
doc \
library \
module.info \
public \
run.php
do
cp -r "${srcdir}/${pkgname}-${pkgver}/${part}" "${pkgdir}/usr/share/webapps/icingaweb2/modules/icingadb/"
done
}
|