blob: 3dd155d4d4d7f292e013126fba2ac30875b2ec46 (
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
27
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=btrbk
pkgver=0.26.1
pkgrel=1
pkgdesc="Backup tool for btrfs subvolumes with atomic snapshots & incremental transfers"
url="http://digint.ch/btrbk"
arch="noarch"
license="GPL-3.0-or-later"
depends="perl perl-date-calc btrfs-progs"
makedepends="asciidoc"
subpackages="$pkgname-doc"
source="http://digint.ch/download/$pkgname/releases/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver
check() {
cd "$builddir"
./btrbk -h > /dev/null
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" BINDIR="/usr/bin" install
rm -rf "$pkgdir"/usr/lib # systemd scripts
}
sha512sums="ee0043f468e11545ca28b5bd456aa9dab1b994ed6d8899ab0f53d455f78bb44f83bcf493e32fdecfec82b3029d5dabc2db72a2f32de80b709a12930df6d53b22 btrbk-0.26.1.tar.xz"
|