# Contributor: Nathan Caldwell <saintdev@gmail.com> # Maintainer: Nathan Caldwell <saintdev@gmail.com> pkgname=snapraid pkgver=11.1 pkgrel=0 pkgdesc="A backup program for disk arrays" url="http://www.snapraid.it" arch="all" license="GPL3" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/amadvance/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="1c1b84902131e585890c0743abdb4b323018e68f8a7b2ff196deeeb29df163cba6242c4c2d046eed73ebd47823ec2bdd1c948da71c1423f11c3af3b4a36428d0 snapraid-11.1.tar.gz"