void-packages/srcpkgs/sanoid/template

23 lines
730 B
Bash

# Template file for 'sanoid'
pkgname=sanoid
version=2.2.0
revision=1
depends="perl perl-Config-IniFiles perl-Capture-Tiny"
short_desc="Policy-driven snapshot management tool for ZFS filesystems"
maintainer="Benjamin Slade <slade@jnanam.net>"
license="GPL-3.0-or-later"
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=a997552e3c5f9fc8407fd20fa1adc99fc37a1f61547f738114c96a1ea1658fe2
do_install() {
vdoc README.md
vinstall sanoid.conf 644 etc/sanoid/
vinstall sanoid.defaults.conf 644 etc/sanoid/
vbin sanoid
vbin syncoid
vbin findoid
vdoc "${FILESDIR}/README.voidlinux"
}