aboutsummaryrefslogtreecommitdiffstats
path: root/main/fsarchiver/APKBUILD
blob: e9bc6b766fcc3926b2bf05cf2ba165688473c259 (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
29
30
31
32
33
34
35
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>

pkgname=fsarchiver
pkgver=0.6.24
pkgrel=0
pkgdesc="Safe and flexible file-system backup and deployment tool"
arch="all"
url="http://www.fsarchiver.org/"
license="GPL2"
subpackages="$pkgname-doc"
makedepends="linux-headers attr-dev bzip2-dev e2fsprogs-dev lzo-dev xz-dev libgcrypt-dev zlib-dev"
source="https://github.com/fdupoux/fsarchiver/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make
}

package() {
	cd "$builddir"

	make DESTDIR="$pkgdir" install
}

md5sums="8be24bb167d0c9316a4c012606f9bddc  fsarchiver-0.6.24.tar.gz"
sha256sums="535401b71b905ebf268bf45a24456d50cc5584c77119d93bf692b6a10c51cee3  fsarchiver-0.6.24.tar.gz"
sha512sums="5c6338426f74625b5be3da4c0b5419e55a123dbdf2669198eeae902dff6b136f004f3279e805ec46ec283293088fb25eb1caaa202b853c9e0c254c7786bf12a4  fsarchiver-0.6.24.tar.gz"