diff options
author | Henrik Riomar <henrik.riomar@gmail.com> | 2019-04-08 23:22:00 +0200 |
---|---|---|
committer | Henrik Riomar <henrik.riomar@gmail.com> | 2019-04-08 23:22:00 +0200 |
commit | 4f35da15e6d9e45b1bd8fc2c3d7c3c62881f1b95 (patch) | |
tree | 0018e95830c18f05c3b53ef7f39763c8f4060b13 /community/zfs-prune-snapshots | |
parent | f732d5983b34e7a557ccc8fe1fe2817f9953dd71 (diff) | |
download | aports-4f35da15e6d9e45b1bd8fc2c3d7c3c62881f1b95.tar.bz2 aports-4f35da15e6d9e45b1bd8fc2c3d7c3c62881f1b95.tar.xz |
community/zfs-prune-snapshots: move from testing
Diffstat (limited to 'community/zfs-prune-snapshots')
-rw-r--r-- | community/zfs-prune-snapshots/APKBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/zfs-prune-snapshots/APKBUILD b/community/zfs-prune-snapshots/APKBUILD new file mode 100644 index 0000000000..7ba68a9d68 --- /dev/null +++ b/community/zfs-prune-snapshots/APKBUILD @@ -0,0 +1,22 @@ +# Contributor: Henrik Riomar <henrik.riomar@gmail.com> +# Maintainer: Henrik Riomar <henrik.riomar@gmail.com> +pkgname=zfs-prune-snapshots +pkgver=1.0.1 +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" +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 + " +builddir="$srcdir/$pkgname-$pkgver" + +package() { + cd "$builddir" + make install PREFIX="/usr" DESTDIR="$pkgdir" +} + +sha512sums="657b5c187b4097b03c99fd6d31c358ded1181cc580690356ea06f591d72ea0734ac863598c95d18d08bf2f433d6644853e289cf0dab6a0a7209c8aa89cc68063 zfs-prune-snapshots-1.0.1.tar.gz" |