From 402c6898ce76b399e8775b4caf46ce4279055b84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 14 Feb 2019 13:32:09 +0100 Subject: Initial comit --- .SRCINFO | 18 ++++++++++++++++++ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..c18ae62 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Thu Feb 14 12:34:00 UTC 2019 +pkgbase = naemon-livestatus + pkgdesc = Event broker for naemon + pkgver = 1.0.9 + pkgrel = 1 + url = http://naemon.org + arch = i686 + arch = x86_64 + license = GPL2 + depends = icu + depends = naemon + backup = etc/naemon/livestatus.cfg + source = http://labs.consol.de/naemon/release/v1.0.9/src/naemon-livestatus-1.0.9.tar.gz + sha512sums = 110b92914f687477ecd803218b141d8e7cf28de7ce72dc4168e3c6faedab1b3446dd9a81698ef9f80f38969e73b8488341f20cfd9c09856ad76a850685970b4f + +pkgname = naemon-livestatus + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..9962f9a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Immae +# Maintainer: Jonathan Steel + +pkgname='naemon-livestatus' +pkgdesc="Event broker for naemon" +pkgver=1.0.9 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://naemon.org" +license=('GPL2') +depends=('icu' 'naemon') +source=(http://labs.consol.de/naemon/release/v$pkgver/src/$pkgname-$pkgver.tar.gz) +sha512sums=('110b92914f687477ecd803218b141d8e7cf28de7ce72dc4168e3c6faedab1b3446dd9a81698ef9f80f38969e73b8488341f20cfd9c09856ad76a850685970b4f') +backup=('etc/naemon/livestatus.cfg') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + export PKG_CONFIG_PATH="/usr/lib/naemon/pkgconfig:$PKG_CONFIG_PATH" + ./configure --prefix=/usr \ + --bindir=/usr/bin \ + --datadir="/usr/share/naemon" \ + --libdir="/usr/lib/naemon" \ + --localstatedir="/var/lib/naemon" \ + --sysconfdir="/etc/naemon" \ + --mandir="/usr/share/man" + + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} -- cgit v1.2.3