void-packages/srcpkgs/restic/template
2018-05-25 13:11:54 +02:00

22 lines
623 B
Bash

# Template file for 'restic'
pkgname=restic
version=0.9.0
revision=1
build_style=go
go_import_path="github.com/restic/restic"
go_package="${go_import_path}/cmd/restic"
go_ldflags="-X 'main.version=${version} (Void Linux)'"
short_desc="Backup solution written in Go"
maintainer="Florian Eich <flrn@nrmncr.net>"
license="BSD-2-Clause"
homepage="https://restic.github.io/"
distfiles="https://github.com/restic/restic/releases/download/v${version}/restic-${version}.tar.gz"
checksum=5b46612254dcaec09a6f7ddae70e116f77c0f87ac7988dc379b34d0fd4bbc4c4
post_install() {
vlicense LICENSE
for f in doc/man/*; do
vman $f
done
}