22 lines
614 B
Bash
22 lines
614 B
Bash
# Template file for 'restic'
|
|
pkgname=restic
|
|
version=0.8.3
|
|
revision=2
|
|
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"
|
|
homepage="https://restic.github.io/"
|
|
distfiles="https://github.com/restic/restic/releases/download/v${version}/restic-${version}.tar.gz"
|
|
checksum=0cf697c88404b180d6d6ff2e7d2c27b2fcb9536da6dbdf15ad4d320af7e8f17c
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
|
|
for f in doc/man/*; do
|
|
vman $f
|
|
done
|
|
}
|