diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-08-24 20:14:00 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-08-24 22:59:37 +0000 |
commit | d8e43791f251fcb347b3fdfe02e88d3ebe98a767 (patch) | |
tree | 05eb54b353b19f31c0b6c7e40874b3ae995554e7 /testing/snapraid | |
parent | 3854e7f57b0f99a2e4ba29eae27d36ba249ae418 (diff) | |
download | aports-d8e43791f251fcb347b3fdfe02e88d3ebe98a767.tar.bz2 aports-d8e43791f251fcb347b3fdfe02e88d3ebe98a767.tar.xz |
testing/snapraid: upgrade to 11.1, modernize and add check
Diffstat (limited to 'testing/snapraid')
-rw-r--r-- | testing/snapraid/APKBUILD | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/testing/snapraid/APKBUILD b/testing/snapraid/APKBUILD index a4b4d736cb..5e855a7f77 100644 --- a/testing/snapraid/APKBUILD +++ b/testing/snapraid/APKBUILD @@ -1,16 +1,12 @@ # Contributor: Nathan Caldwell <saintdev@gmail.com> # Maintainer: Nathan Caldwell <saintdev@gmail.com> pkgname=snapraid -pkgver=11.0 +pkgver=11.1 pkgrel=0 pkgdesc="A backup program for disk arrays" url="http://www.snapraid.it" arch="all" license="GPL3" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/amadvance/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" @@ -24,16 +20,18 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -md5sums="b3abdf5ae44224234355e38c8032eb5d snapraid-11.0.tar.gz" -sha256sums="30a72b8853ea750128c96784b73bb55f7faa4b16367b2e03f40c1f78515c5771 snapraid-11.0.tar.gz" -sha512sums="d2c27b4b0eaecbede685c8a7607e47a9abe43d6d3577398765507c413c2dea524602d1d854308633b58271912f9f7fd04a8772adbc98278e4703a451cda065f5 snapraid-11.0.tar.gz" +sha512sums="1c1b84902131e585890c0743abdb4b323018e68f8a7b2ff196deeeb29df163cba6242c4c2d046eed73ebd47823ec2bdd1c948da71c1423f11c3af3b4a36428d0 snapraid-11.1.tar.gz" |