aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2019-12-16 22:10:21 +0100
committerHenrik Riomar <henrik.riomar@gmail.com>2019-12-16 22:45:26 +0100
commit3807dfeb0f7255503ed182bae8bbcd22b5f31d69 (patch)
tree977b41d80c7c4a1836257b6fa7200c6c98eb770c
parent02a267dc7c84ff8b8a3b2c5cfe82055d5237bd40 (diff)
downloadaports-3807dfeb0f7255503ed182bae8bbcd22b5f31d69.tar.gz
aports-3807dfeb0f7255503ed182bae8bbcd22b5f31d69.tar.bz2
aports-3807dfeb0f7255503ed182bae8bbcd22b5f31d69.tar.xz
community/zfs-prune-snapshots: upgrade to 1.1.0
add check()
-rw-r--r--community/zfs-prune-snapshots/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/zfs-prune-snapshots/APKBUILD b/community/zfs-prune-snapshots/APKBUILD
index 7ba68a9d68..30466a309b 100644
--- a/community/zfs-prune-snapshots/APKBUILD
+++ b/community/zfs-prune-snapshots/APKBUILD
@@ -1,22 +1,25 @@
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=zfs-prune-snapshots
-pkgver=1.0.1
+pkgver=1.1.0
pkgrel=0
pkgdesc="Remove snapshots from one or more zpools that match given criteria"
url="https://github.com/bahamas10/zfs-prune-snapshots"
arch="noarch !armhf !armv7"
license="MIT"
+checkdepends="shellcheck"
depends="bash zfs"
subpackages="$pkgname-doc"
options="!check" # check() requires shellcheck
-source="$pkgname-$pkgver.tar.gz::https://github.com/bahamas10/${pkgname}/archive/v${pkgver}.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/bahamas10/zfs-prune-snapshots/archive/v$pkgver.tar.gz
"
-builddir="$srcdir/$pkgname-$pkgver"
+
+check() {
+ make check
+}
package() {
- cd "$builddir"
make install PREFIX="/usr" DESTDIR="$pkgdir"
}
-sha512sums="657b5c187b4097b03c99fd6d31c358ded1181cc580690356ea06f591d72ea0734ac863598c95d18d08bf2f433d6644853e289cf0dab6a0a7209c8aa89cc68063 zfs-prune-snapshots-1.0.1.tar.gz"
+sha512sums="bad4f3ba8aa383f6e9f80ab9280e8591a1b19f8d77e22fe0a54d5569030b43eb2e55cb5041a5735287d8ecfb997cfc218959a53cff4529f5221683a7210d0c63 zfs-prune-snapshots-1.1.0.tar.gz"