diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a50187434cf6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Alexander Görtz <aur@nyloc.de> + +pkgname=borgmatic +_pkgname=atticmatic +pkgver=0.1.7 +pkgrel=1 +pkgdesc="A simple Python wrapper script for the borg (and attic) backup software." +arch=('any') +url="http://torsion.org/atticmatic/" +license=('GPL3') +depends=('borg') +optdepends=('attic') +source=("https://torsion.org/hg/$_pkgname/archive/$pkgver.tar.gz") +provides=('atticmatic') +conflicts=('atticmatic') +sha256sums=('46e6f7e450a705fb13de628a1ce5d52548cf4da25b681bd2843f6a4345d82181') + + +package() { + cd "$srcdir/$_pkgname-$pkgver" + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -D -m644 sample/config "$pkgdir/etc/$pkgname/config.example" + install -D -m644 sample/excludes "$pkgdir/etc/$pkgname/excludes.example" + install -D -m644 sample/atticmatic.cron "$pkgdir/etc/$pkgname/atticmatic.cron.example" + install -D -m644 sample/borgmatic.cron "$pkgdir/etc/$pkgname/borgmatic.cron.example" + python setup.py -q install --root="$pkgdir" --optimize=1 +} |