aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-14 13:32:09 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-14 13:34:03 +0100
commit402c6898ce76b399e8775b4caf46ce4279055b84 (patch)
tree5b43d37ddd4948ccd4ae3468a7f543cf495a20b2
downloadAUR-402c6898ce76b399e8775b4caf46ce4279055b84.tar.gz
AUR-402c6898ce76b399e8775b4caf46ce4279055b84.tar.zst
AUR-402c6898ce76b399e8775b4caf46ce4279055b84.zip
Initial comit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD35
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..c18ae62
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
1# Generated by mksrcinfo v8
2# Thu Feb 14 12:34:00 UTC 2019
3pkgbase = naemon-livestatus
4 pkgdesc = Event broker for naemon
5 pkgver = 1.0.9
6 pkgrel = 1
7 url = http://naemon.org
8 arch = i686
9 arch = x86_64
10 license = GPL2
11 depends = icu
12 depends = naemon
13 backup = etc/naemon/livestatus.cfg
14 source = http://labs.consol.de/naemon/release/v1.0.9/src/naemon-livestatus-1.0.9.tar.gz
15 sha512sums = 110b92914f687477ecd803218b141d8e7cf28de7ce72dc4168e3c6faedab1b3446dd9a81698ef9f80f38969e73b8488341f20cfd9c09856ad76a850685970b4f
16
17pkgname = naemon-livestatus
18
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
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}