summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34ff9de6fb4ea2b4cac8ed7c30e1b9c5dd812b50 (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
pkgname=icinga-classic-ui
pkgver=1.13.3
pkgrel=1
pkgdesc="Icinga Classic UI Standalone."
license=('GPL')
arch=('i686' 'x86_64')
depends=('icinga2' 'fcgiwrap')
url="http://www.icinga.org"
source=("https://github.com/Icinga/icinga-core/releases/download/v${pkgver}/icinga-${pkgver}.tar.gz")

build() {
  cd "$srcdir/icinga-$pkgver"

	./configure \
		--enable-classicui-standalone \
		--with-web-user=http --with-web-group=http \
		--prefix=/usr/share/icinga-classic-ui \
		--with-htmurl=/ --with-cgiurl=/cgi-bin \
		--enable-cgi-log --with-cgi-log-dir=/var/log/icinga/ \
		--with-http-auth-file=/etc/icinga2/users \
		--with-command-group=http --sysconfdir=/etc/icinga2
}

package() {
	cd "$srcdir/icinga-$pkgver"

	make DESTDIR="$pkgdir" classicui-standalone
	make DESTDIR="$pkgdir" install-classicui-standalone install-classicui-standalone-conf
}

md5sums=('9a74a5e7217c0fb9aea3a66cc11d2aa5')