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