# Contributor: Henrik Riomar # Maintainer: Henrik Riomar pkgname=zfs-prune-snapshots pkgver=1.0.0 pkgrel=1 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" 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 0001-allow-passing-DESTDIR.patch " builddir="$srcdir/$pkgname-$pkgver" package() { cd "$builddir" make install PREFIX="/usr" DESTDIR="$pkgdir" } sha512sums="4f4b157c93fdfeb2d517ce19622694ca2911bdb6c5735ec126a85b8fa2132752cdd91e8b5a2c79350d0e601c7f91a7d22b60d7e74abbe844b93bc6950d6218ab zfs-prune-snapshots-1.0.0.tar.gz 9d671c39437bf5d83ef734ac0ef1650c1794634903cf8fc25c920b137cc466896bfbfa3b406110c431151534bd393c3b1235f957e58224d0009f7a3076f9160d 0001-allow-passing-DESTDIR.patch"