]> git.immae.eu Git - perso/Immae/Config/AUR.git/blame - PKGBUILD
Initial comit
[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"
6pkgver=1.0.9
7pkgrel=1
8arch=('i686' 'x86_64')
9url="http://naemon.org"
10license=('GPL2')
11depends=('icu' 'naemon')
12source=(http://labs.consol.de/naemon/release/v$pkgver/src/$pkgname-$pkgver.tar.gz)
13sha512sums=('110b92914f687477ecd803218b141d8e7cf28de7ce72dc4168e3c6faedab1b3446dd9a81698ef9f80f38969e73b8488341f20cfd9c09856ad76a850685970b4f')
14backup=('etc/naemon/livestatus.cfg')
15
16build() {
17 cd "$srcdir/$pkgname-$pkgver"
18
19 export PKG_CONFIG_PATH="/usr/lib/naemon/pkgconfig:$PKG_CONFIG_PATH"
20 ./configure --prefix=/usr \
21 --bindir=/usr/bin \
22 --datadir="/usr/share/naemon" \
23 --libdir="/usr/lib/naemon" \
24 --localstatedir="/var/lib/naemon" \
25 --sysconfdir="/etc/naemon" \
26 --mandir="/usr/share/man"
27
28 make
29}
30
31package() {
32 cd "$srcdir/$pkgname-$pkgver"
33
34 make DESTDIR="$pkgdir" install
35}