summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Taboada2018-11-12 10:22:08 -0800
committerMichael Taboada2018-11-12 10:22:08 -0800
commit7bdc676cd02b58b763b28a7a539d96d14d88a9c5 (patch)
tree062a70bdf6808f98d4bccc10360c3cba2edb3886
downloadaur-7bdc676cd02b58b763b28a7a539d96d14d88a9c5.tar.gz
Initial commit.
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD35
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fcf146217ac
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Mon Nov 12 18:21:28 UTC 2018
+pkgbase = munin-libvirt-git
+ pkgdesc = libvirt plugins for munin system monitoring
+ pkgver = r36.e3442fb
+ pkgrel = 1
+ url = https://github.com/MikeQG/munin-libvirt-plugins
+ arch = any
+ license = GPL2
+ makedepends = git
+ makedepends = pychecker
+ depends = munin-node
+ depends = libvirt-python
+ depends = python-lxml
+ provides = munin-libvirt
+ conflicts = munin-libvirt
+ source = munin-libvirt::git+https://github.com/MikeQG/munin-libvirt-plugins.git
+ md5sums = SKIP
+
+pkgname = munin-libvirt-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1c0a55d528d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Michael Taboada <michael@2mb.solutions>
+pkgname=munin-libvirt-git
+pkgver=r36.e3442fb
+pkgrel=1
+pkgdesc="libvirt plugins for munin system monitoring"
+arch=(any)
+url="https://github.com/MikeQG/munin-libvirt-plugins"
+license=('GPL2')
+depends=('munin-node' 'libvirt-python' 'python-lxml')
+makedepends=('git' 'pychecker')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=('munin-libvirt::git+https://github.com/MikeQG/munin-libvirt-plugins.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ make
+}
+
+check() {
+ cd "$srcdir/${pkgname%-git}"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ make DESTDIR="$pkgdir/" SBINDIR="/usr/bin/" install
+}