diff --git a/srcpkgs/restic/template b/srcpkgs/restic/template new file mode 100644 index 0000000000..c28293b77d --- /dev/null +++ b/srcpkgs/restic/template @@ -0,0 +1,39 @@ +# 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 " +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 +}