# Maintainer: Alexander Görtz # Co-maintainer: Dan Beste # Co-maintainer: Julien Nicoulaud # Contributor: stef204 pkgname='borgmatic' pkgver=1.3.3 pkgrel=2 pkgdesc='A wrapper script for Borg backup software that creates and prunes backups' arch=('any') url='https://torsion.org/borgmatic/' license=('GPL3') depends=('borg' 'python-pykwalify' 'python-ruamel-yaml') makedepends=('python-setuptools') install="${pkgname}.install" source=( "${pkgname}-${pkgver}.tar.gz::https://projects.torsion.org/witten/borgmatic/archive/${pkgver}.tar.gz" "${pkgname}.install" "${pkgname}.service.patch" ) sha256sums=('0883dd5648efd6beeab581fefa57b0a46409035ac011c30950d40059cd49edbd' '2862763feea83e3ee0fb65c9f3fec648312486cd8ab48cd7cac70a7bb742b55b' 'f27cf21c8076d9de96ee7931ec6660f7f5d9e9fcaa6346612701eff32fa5127d') prepare() { cd "${pkgname}" patch sample/systemd/borgmatic.service < "${srcdir}/borgmatic.service.patch" } package() { cd "${pkgname}" python setup.py -q install --root="${pkgdir}" --optimize=1 install -d "${pkgdir}/usr/lib/systemd/system" install -m 644 sample/systemd/* "${pkgdir}/usr/lib/systemd/system/" } # vim: ts=2 sw=2 et: