]> git.immae.eu Git - perso/Immae/Config/AUR.git/commitdiff
Initial comit
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 14 Feb 2019 12:32:09 +0000 (13:32 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 14 Feb 2019 12:34:03 +0000 (13:34 +0100)
.SRCINFO [new file with mode: 0644]
PKGBUILD [new file with mode: 0644]

diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644 (file)
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 (file)
index 0000000..9962f9a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Immae <ismael.bouya@normalesup.org>
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+
+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
+}