diff options
author | Julien Nicoulaud | 2019-07-02 20:21:36 +0200 |
---|---|---|
committer | Julien Nicoulaud | 2019-07-02 20:21:36 +0200 |
commit | 58837975a9a7204ba3c8651602ce4b55f9d988a0 (patch) | |
tree | 4ddb8a4f886e5dda62f3eb6fd18bb8c74f3c6b91 | |
download | aur-58837975a9a7204ba3c8651602ce4b55f9d988a0.tar.gz |
1.0.1
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 25 |
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3a6247f65d48 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = zfs-prune-snapshots + pkgdesc = Remove snapshots from one or more zpools that match given criteria. + pkgver = 1.0.1 + pkgrel = 1 + url = https://github.com/bahamas10/zfs-prune-snapshots + arch = any + license = MIT + checkdepends = shellcheck + makedepends = make + depends = bash + conflicts = zfs-prune-snapshots-git + source = https://github.com/bahamas10/zfs-prune-snapshots/archive/v1.0.1.tar.gz + sha512sums = 657b5c187b4097b03c99fd6d31c358ded1181cc580690356ea06f591d72ea0734ac863598c95d18d08bf2f433d6644853e289cf0dab6a0a7209c8aa89cc68063 + +pkgname = zfs-prune-snapshots + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..8eab14e54627 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +/pkg/ +/src/ +/*.tar.gz +/*.xz +/*.zst +/*.swp diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6ed45dc605cd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Julien Nicoulaud <julien DOT nicoulaud AT gmail DOT com> + +pkgname=zfs-prune-snapshots +pkgver=1.0.1 +pkgrel=1 +pkgdesc='Remove snapshots from one or more zpools that match given criteria.' +arch=(any) +url='https://github.com/bahamas10/zfs-prune-snapshots' +license=(MIT) +makedepends=(make) +checkdepends=(shellcheck) +depends=(bash) +conflicts=(${pkgname}-git) +source=("https://github.com/bahamas10/${pkgname}/archive/v${pkgver}.tar.gz") +sha512sums=('657b5c187b4097b03c99fd6d31c358ded1181cc580690356ea06f591d72ea0734ac863598c95d18d08bf2f433d6644853e289cf0dab6a0a7209c8aa89cc68063') + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make install DESTDIR="${pkgdir}" PREFIX=/usr +} |