diff options
Diffstat (limited to 'naemon-livestatus')
-rw-r--r-- | naemon-livestatus/.SRCINFO | 16 | ||||
-rw-r--r-- | naemon-livestatus/PKGBUILD | 36 |
2 files changed, 52 insertions, 0 deletions
diff --git a/naemon-livestatus/.SRCINFO b/naemon-livestatus/.SRCINFO new file mode 100644 index 0000000..b60f11a --- /dev/null +++ b/naemon-livestatus/.SRCINFO | |||
@@ -0,0 +1,16 @@ | |||
1 | pkgbase = naemon-livestatus | ||
2 | pkgdesc = Event broker for naemon | ||
3 | pkgver = 1.0.10 | ||
4 | pkgrel = 1 | ||
5 | url = http://naemon.org | ||
6 | arch = i686 | ||
7 | arch = x86_64 | ||
8 | license = GPL2 | ||
9 | depends = icu | ||
10 | depends = naemon | ||
11 | backup = etc/naemon/livestatus.cfg | ||
12 | source = naemon-livestatus-git::git+https://github.com/naemon/naemon-livestatus.git#commit=33dbcfe18e42158f25c27cff95a1e07b73be53b0 | ||
13 | sha512sums = SKIP | ||
14 | |||
15 | pkgname = naemon-livestatus | ||
16 | |||
diff --git a/naemon-livestatus/PKGBUILD b/naemon-livestatus/PKGBUILD new file mode 100644 index 0000000..239e80b --- /dev/null +++ b/naemon-livestatus/PKGBUILD | |||
@@ -0,0 +1,36 @@ | |||
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.10 | ||
7 | pkgrel=1 | ||
8 | arch=('i686' 'x86_64') | ||
9 | url="http://naemon.org" | ||
10 | license=('GPL2') | ||
11 | depends=('icu' 'naemon') | ||
12 | source=("naemon-livestatus-git::git+https://github.com/naemon/naemon-livestatus.git#commit=33dbcfe18e42158f25c27cff95a1e07b73be53b0") | ||
13 | sha512sums=('SKIP') | ||
14 | backup=('etc/naemon/livestatus.cfg') | ||
15 | |||
16 | build() { | ||
17 | cd "$srcdir/$pkgname-git" | ||
18 | |||
19 | export PKG_CONFIG_PATH="/usr/lib/naemon/pkgconfig:$PKG_CONFIG_PATH" | ||
20 | ./autogen.sh | ||
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 | |||
32 | package() { | ||
33 | cd "$srcdir/$pkgname-git" | ||
34 | |||
35 | make DESTDIR="$pkgdir" install | ||
36 | } | ||