diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 13:32:09 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 13:34:03 +0100 |
commit | 402c6898ce76b399e8775b4caf46ce4279055b84 (patch) | |
tree | 5b43d37ddd4948ccd4ae3468a7f543cf495a20b2 /PKGBUILD | |
download | AUR-402c6898ce76b399e8775b4caf46ce4279055b84.tar.gz AUR-402c6898ce76b399e8775b4caf46ce4279055b84.tar.zst AUR-402c6898ce76b399e8775b4caf46ce4279055b84.zip |
Initial comit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..9962f9a --- /dev/null +++ b/PKGBUILD | |||
@@ -0,0 +1,35 @@ | |||
1 | # Maintainer: Immae <ismael.bouya@normalesup.org> | ||
2 | # Maintainer: Jonathan Steel <jsteel at archlinux.org> | ||
3 | |||
4 | pkgname='naemon-livestatus' | ||
5 | pkgdesc="Event broker for naemon" | ||
6 | pkgver=1.0.9 | ||
7 | pkgrel=1 | ||
8 | arch=('i686' 'x86_64') | ||
9 | url="http://naemon.org" | ||
10 | license=('GPL2') | ||
11 | depends=('icu' 'naemon') | ||
12 | source=(http://labs.consol.de/naemon/release/v$pkgver/src/$pkgname-$pkgver.tar.gz) | ||
13 | sha512sums=('110b92914f687477ecd803218b141d8e7cf28de7ce72dc4168e3c6faedab1b3446dd9a81698ef9f80f38969e73b8488341f20cfd9c09856ad76a850685970b4f') | ||
14 | backup=('etc/naemon/livestatus.cfg') | ||
15 | |||
16 | build() { | ||
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 | |||
31 | package() { | ||
32 | cd "$srcdir/$pkgname-$pkgver" | ||
33 | |||
34 | make DESTDIR="$pkgdir" install | ||
35 | } | ||