summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD22
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..deca26de08f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Wed May 4 17:29:03 UTC 2016
+pkgbase = sanoid
+ pkgdesc = Sanoid is a policy-driven snapshot management tool for ZFS filesystems.
+ pkgver = 1.0.8
+ pkgrel = 1
+ url = https://github.com/jimsalterjrs/sanoid
+ arch = any
+ license = GPL
+ provides = sanoid
+ conflicts = sanoid-git
+ source = sanoid-1.0.8.tar.gz::https://github.com/jimsalterjrs/sanoid/archive/v1.0.8.tar.gz
+ sha256sums = fb6187c010b71bfd2114663370bdb29a26f123299f5a424d3e9a21e21b6f7388
+
+pkgname = sanoid
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..786fd0063e0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/*.tar.gz
+/*.xz
+/src/
+/pkg/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..51d14693b6e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Donald Webster <fryfrog@gmail.com>
+
+pkgname=sanoid
+pkgver=1.0.8
+pkgrel=1
+pkgdesc="Sanoid is a policy-driven snapshot management tool for ZFS filesystems."
+arch=('any')
+url='https://github.com/jimsalterjrs/sanoid'
+license=('GPL')
+conflicts=('sanoid-git')
+provides=('sanoid')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jimsalterjrs/sanoid/archive/v$pkgver.tar.gz")
+sha256sums=('fb6187c010b71bfd2114663370bdb29a26f123299f5a424d3e9a21e21b6f7388')
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/sanoid/LICENSE"
+ install -Dm644 README.md "${pkgdir}/usr/share/doc/sanoid/LICENSE"
+ install -Dm644 sanoid.conf "${pkgdir}/etc/sandoid/sanoid.conf"
+ install -Dm755 sanoid "${pkgdir}/usr/bin/sanoid"
+ install -Dm755 syncoid "${pkgdir}/usr/bin/syncoid"
+}