aboutsummaryrefslogtreecommitdiffstats
path: root/community/btrbk/APKBUILD
blob: 6da5bfb53904cf9d9cd4a05bfce728745dc63a5e (plain) (blame)
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
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=btrbk
pkgver=0.32.2
pkgrel=0
pkgdesc="Backup tool for btrfs subvolumes with atomic snapshots & incremental transfers"
url="https://digint.ch/btrbk"
arch="noarch"
license="GPL-3.0-or-later"
depends="perl btrfs-progs"
makedepends="asciidoctor"
subpackages="$pkgname-doc $pkgname-bash-completion"
options="!check" # no test suite available
source="https://digint.ch/download/btrbk/releases/btrbk-$pkgver.tar.xz"

package() {
	make -j1 DESTDIR="$pkgdir" BINDIR="/usr/bin" install
	mkdir -p "$pkgdir"-doc/usr/share/btrbk
	cp -rf "$srcdir"/$pkgname-$pkgver/contrib "$pkgdir"-doc/usr/share/btrbk
	rm -rf "$pkgdir"/usr/lib "$pkgdir"-doc/usr/share/btrbk/contrib/systemd # systemd scripts
}

sha512sums="
204bd48605b369909b1cb586bfa75dda5ee57b833c71a9d39699020f05f7305e2bc932c76face5aa0e435c1df46e13a566cbb2042c86975f6f8cd65c82ddcccf  btrbk-0.32.2.tar.xz
"