]> git.immae.eu Git - perso/Immae/Config/AUR.git/blame - PKGBUILD
Upgrade naemon and naemon-livestatus
[perso/Immae/Config/AUR.git] / PKGBUILD
CommitLineData
402c6898
IB
1# Maintainer: Immae <ismael.bouya@normalesup.org>
2# Maintainer: Jonathan Steel <jsteel at archlinux.org>
3
4pkgname='naemon-livestatus'
5pkgdesc="Event broker for naemon"
ed816283 6pkgver=1.0.10
402c6898
IB
7pkgrel=1
8arch=('i686' 'x86_64')
9url="http://naemon.org"
10license=('GPL2')
11depends=('icu' 'naemon')
ed816283
IB
12source=("naemon-livestatus-git::git+https://github.com/naemon/naemon-livestatus.git#commit=33dbcfe18e42158f25c27cff95a1e07b73be53b0")
13sha512sums=('SKIP')
402c6898
IB
14backup=('etc/naemon/livestatus.cfg')
15
16build() {
ed816283 17 cd "$srcdir/$pkgname-git"
402c6898
IB
18
19 export PKG_CONFIG_PATH="/usr/lib/naemon/pkgconfig:$PKG_CONFIG_PATH"
ed816283 20 ./autogen.sh
402c6898
IB
21 ./configure --prefix=/usr \
22 --bindir=/usr/bin \
23 --datadir="/usr/share/naemon" \
24 --libdir="/usr/lib/naemon" \
25 --localstatedir="/var/lib/naemon" \
26 --sysconfdir="/etc/naemon" \
27 --mandir="/usr/share/man"
28
29 make
30}
31
32package() {
ed816283 33 cd "$srcdir/$pkgname-git"
402c6898
IB
34
35 make DESTDIR="$pkgdir" install
36}