summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimofey Titovets2018-03-01 00:36:13 +0300
committerTimofey Titovets2018-03-01 00:36:13 +0300
commit42e3d15e4251758eb7a92c872abe3879252252ce (patch)
treec37add5bc4da69b7d94738ab723a72e98622c597
downloadaur-42e3d15e4251758eb7a92c872abe3879252252ce.tar.gz
Init
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD25
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1ac685f0302
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = libvirt-autoballoon-git
+ pkgdesc = Libvirt-qemu autoballooning
+ pkgver = v0.1.r0.g624982d
+ pkgrel = 1
+ url = https://github.com/Nefelim4ag/libvirt-autoballoon.git
+ arch = any
+ license = GPL3
+ makedepends = git
+ makedepends = make
+ depends = systemd
+ depends = bash
+ depends = libvirt
+ source = libvirt-autoballoon-git::git+https://github.com/Nefelim4ag/libvirt-autoballoon.git#branch=master
+ md5sums = SKIP
+
+pkgname = libvirt-autoballoon-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..c24b4705545
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+libvirt-autoballoon-git*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ecf2456e5b9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Timofey Titovets <nefelim4ag@gmail.com>
+
+pkgname=libvirt-autoballoon-git
+pkgver=v0.1.r0.g624982d
+pkgrel=1
+pkgdesc="Libvirt-qemu autoballooning"
+arch=('any')
+url="https://github.com/Nefelim4ag/libvirt-autoballoon.git"
+license=('GPL3')
+depends=('systemd' 'bash' 'libvirt')
+makedepends=('git' 'make')
+source=("$pkgname"::'git+https://github.com/Nefelim4ag/libvirt-autoballoon.git#branch=master')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ cd "$srcdir/${pkgname}/"
+ make install PREFIX="$pkgdir"
+ mkdir -p "$pkgdir/usr/"
+ mv -v "$pkgdir/lib" "$pkgdir/usr/"
+}