blob: 7ba68a9d6884821965cdaf39ad5be59b3b7f33b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"
|