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 | |
download | AUR-402c6898ce76b399e8775b4caf46ce4279055b84.tar.gz AUR-402c6898ce76b399e8775b4caf46ce4279055b84.tar.zst AUR-402c6898ce76b399e8775b4caf46ce4279055b84.zip |
Initial comit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 35 |
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 | ||
3 | pkgbase = 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 | |||
17 | pkgname = 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 | |||
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 | } | ||