# Maintainer: Anthony25 # # Thanks to Jeremy "Ichimonji10" Audet for # his PKGBUILD that served as a base for this one pkgname=virt-backup pkgver=0.5.4 pkgrel=1 pkgdesc="Automatic backups for Libvirt" arch=(any) url="https://github.com/Anthony25/virt-backup" license=(BSD) makedepends=( python-setuptools ) depends=( libvirt-python python-appdirs python-argparse python-arrow python-lxml python-yaml ) optdepends=( 'python-zstandard: zstd packager support' ) options=(!emptydirs) source=("https://github.com/Anthony25/virt-backup/archive/v${pkgver}.tar.gz") sha256sums=('f65a1fb748845376c25d8d7ee2390034afc12b58758c8e97b8ea817369ee97c0') package() { cd "${srcdir}/virt-backup-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 install -D -m644 example/virt-backup-clean.service "$pkgdir/usr/lib/systemd/system/virt-backup-clean.service" } # vim:set ts=2 sw=2 et: