void-packages/srcpkgs/restic/template

40 lines
1.1 KiB
Bash

# Template file for 'restic'
pkgname=restic
version=0.8.1
revision=1
build_style=go
go_import_path="github.com/restic/restic"
go_package="${go_import_path}/cmd/restic"
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=1e0e0d1e7388beaa2a892c057759fdfe6a4fe915f9518c73068761f8d6d7619d
post_install() {
vlicense LICENSE
vman doc/man/restic-backup.1
vman doc/man/restic-cat.1
vman doc/man/restic-check.1
vman doc/man/restic-diff.1
vman doc/man/restic-dump.1
vman doc/man/restic-find.1
vman doc/man/restic-forget.1
vman doc/man/restic-generate.1
vman doc/man/restic-init.1
vman doc/man/restic-key.1
vman doc/man/restic-list.1
vman doc/man/restic-ls.1
vman doc/man/restic-migrate.1
vman doc/man/restic-mount.1
vman doc/man/restic-prune.1
vman doc/man/restic-rebuild-index.1
vman doc/man/restic-restore.1
vman doc/man/restic-snapshots.1
vman doc/man/restic-tag.1
vman doc/man/restic-unlock.1
vman doc/man/restic-version.1
vman doc/man/restic.1
}