diff --git a/srcpkgs/restic/template b/srcpkgs/restic/template index 7fc83cca0bf..8eaa8bb6320 100644 --- a/srcpkgs/restic/template +++ b/srcpkgs/restic/template @@ -1,39 +1,22 @@ # Template file for 'restic' pkgname=restic -version=0.8.1 -revision=3 +version=0.8.3 +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 " license="BSD" homepage="https://restic.github.io/" distfiles="https://github.com/restic/restic/releases/download/v${version}/restic-${version}.tar.gz" -checksum=1e0e0d1e7388beaa2a892c057759fdfe6a4fe915f9518c73068761f8d6d7619d +checksum=0cf697c88404b180d6d6ff2e7d2c27b2fcb9536da6dbdf15ad4d320af7e8f17c 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 + + for f in doc/man/*; do + vman $f + done }