# Template file for 'sanoid'
pkgname=sanoid
version=1.4.18
revision=1
depends="perl perl-Config-IniFiles"
short_desc="Policy-driven snapshot management tool for ZFS filesystems"
maintainer="Benjamin Slade <slade@jnanam.net>"
license="GPL-3"
homepage="http://www.openoid.net/products/"
distfiles="https://github.com/jimsalterjrs/sanoid/archive/v$version.tar.gz"
conf_files="/etc/sanoid/sanoid.conf /etc/sanoid/sanoid.defaults.conf"
checksum=42e6ba2f8fc5ebf4ca6c4c7ea71dc68756891ba2a81111d49ca0304c532b1dfa

do_install() {
	     vlicense LICENSE
	     vdoc README.md
	     vinstall sanoid.conf 644 etc/sanoid/
	     vinstall sanoid.defaults.conf 644 etc/sanoid/
	     vbin sanoid
	     vbin syncoid
	     vbin findoid
}
