summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDonald Webster2016-05-04 10:13:02 -0700
committerDonald Webster2016-05-04 10:29:08 -0700
commit3c7c43accdac129c888d592e95d3c35f5f835588 (patch)
treeb8a0348c4652c9b2b4a883aa451298b6ec368564 /PKGBUILD
downloadaur-3c7c43accdac129c888d592e95d3c35f5f835588.tar.gz
Initial package of sanoid.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 22 insertions, 0 deletions
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"
+}