aboutsummaryrefslogtreecommitdiffstats
path: root/community/btrbk/APKBUILD
blob: 46ca525cf4e24adb225da58011b3a6c9f429887a (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
26
27
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=btrbk
pkgver=0.27.0
pkgrel=0
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="2d65d32cecdd8598d5028a78a449559563bf38a172849e0a13ccfa8129189a044cb2d007561b5c7e611c8bbbe069fd9c1177085dca519c88d40233fb0d49db36  btrbk-0.27.0.tar.xz"