28 lines
821 B
Bash
28 lines
821 B
Bash
# Template file for 'restic'
|
|
pkgname=restic
|
|
version=0.16.2
|
|
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.net/"
|
|
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=88165b5b89b6064df37a9964d660f40ac62db51d6536e459db9aaea6f2b2fc11
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
|
|
for f in doc/man/*; do
|
|
vman $f
|
|
done
|
|
|
|
vcompletion doc/fish-completion.fish fish
|
|
vcompletion doc/bash-completion.sh bash
|
|
vcompletion doc/zsh-completion.zsh zsh
|
|
}
|