28 lines
801 B
Bash
28 lines
801 B
Bash
# Template file for 'zrepl'
|
|
pkgname=zrepl
|
|
version=0.6.0
|
|
revision=2
|
|
build_style=go
|
|
go_import_path=github.com/zrepl/zrepl
|
|
go_ldflags="-X github.com/zrepl/zrepl/version.zreplVersion=void-${version}_${revision}"
|
|
depends="zfs"
|
|
short_desc="One-stop ZFS backup & replication solution"
|
|
maintainer="Frans Bergman <frans@tankernn.eu>"
|
|
license="MIT"
|
|
homepage="https://github.com/zrepl/zrepl"
|
|
distfiles="https://github.com/zrepl/zrepl/archive/v${version}.tar.gz"
|
|
checksum=0bf1dcf634a43af81cd9a0d7b9ae65f63a5938c35d3e6cd804177c8db52929f4
|
|
|
|
conf_files="/etc/zrepl/*"
|
|
|
|
post_install() {
|
|
vmkdir etc/zrepl
|
|
vinstall ${FILESDIR}/zrepl.yml 644 etc/zrepl
|
|
vsconf ${FILESDIR}/zrepl.yml
|
|
vcopy config/samples/* usr/share/examples/${pkgname}
|
|
vsconf dist/grafana/grafana-prometheus-zrepl.json
|
|
|
|
vlicense LICENSE
|
|
vsv zrepl
|
|
}
|