aboutsummaryrefslogtreecommitdiffstats
path: root/main/fsarchiver/APKBUILD
blob: 88f687aca43ef15de0e336aa66947118d939b95c (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.8.1
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="0120521e77709749f8147e0a1e583221  fsarchiver-0.8.1.tar.gz"
sha256sums="f21dc8f66a67e949c836f3316862db0619f14cf8971ba37342c0ae6e11e625f8  fsarchiver-0.8.1.tar.gz"
sha512sums="17133392b0678b88552ae356bc199a8a5a8a88d3c8878b593b36acdc0f9dc3869f87475cc1a36d0df752e3bc3df8c9c0641954f675aaf60da4f1b0862dec1bc6  fsarchiver-0.8.1.tar.gz"