summaryrefslogtreecommitdiff
path: root/community/btrbk/APKBUILD
blob: 696cc4bfedb497ce0a61c934be3da28ecf57bbb0 (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
28
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=btrbk
pkgver=0.26.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"
depends="perl perl-date-calc btrfs-progs"
makedepends="asciidoc"
options="!check"
subpackages="$pkgname-doc"
source="http://digint.ch/download/$pkgname/releases/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	return 0
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	rm -rf "$pkgdir"/usr/lib # systemd scripts
}

sha512sums="a08ec4e2e0d164b9a9a17b3d4b8417eb3890994c8aa2233ecda9d616659fce917311a94fdfd6762acacb40dc25a60fe8f6880703c980ccd4a176b14e24a2bb00  btrbk-0.26.0.tar.xz"