blob: 65d052341d98059a2660bbd06023b64f965cbf40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Timofey Titovets <nefelim4ag@gmail.com>
pkgname=libvirt-autoballoon-git
pkgver=v0.2.r4.g6983dac
pkgrel=1
pkgdesc="Libvirt-qemu autoballooning"
arch=('any')
url="https://github.com/Nefelim4ag/libvirt-autoballoon.git"
license=('GPL3')
depends=('systemd' 'bash' 'libvirt' 'libvirt-python')
makedepends=('git' 'make')
source=("$pkgname"::'git+https://github.com/Nefelim4ag/libvirt-autoballoon.git#branch=master')
backup=("etc/libvirt/autoballoon.json")
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/"
}
|