25 lines
723 B
Bash
25 lines
723 B
Bash
# Template file for 'restic'
|
|
pkgname=restic
|
|
version=0.9.4
|
|
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)'"
|
|
hostmakedepends="git"
|
|
short_desc="Backup solution written in Go"
|
|
maintainer="Florian Eich <flrn@nrmncr.net>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://restic.github.io/"
|
|
changelog="https://raw.githubusercontent.com/restic/restic/master/CHANGELOG.md"
|
|
distfiles="https://github.com/restic/restic/releases/download/v${version}/restic-${version}.tar.gz"
|
|
checksum=c7dca90fb6fd83cee8b9f6a2776f5839794341af1953d251bf06a91870be7a8e
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
|
|
for f in doc/man/*; do
|
|
vman $f
|
|
done
|
|
}
|