void-packages/srcpkgs/gopass/template
2021-02-11 18:23:43 -03:00

32 lines
924 B
Bash

# Template file for 'gopass'
pkgname=gopass
version=1.12.0
revision=1
build_style=go
build_helper=qemu
go_import_path=github.com/gopasspw/gopass
go_package="${go_import_path} ${go_import_path}/cmd/..."
makedepends="gnupg2"
depends="gnupg2 git"
short_desc="Slightly more awesome standard unix password manager for teams"
maintainer="Felipe Nogueira <contato.fnog@gmail.com>"
license="MIT"
homepage="https://www.gopass.pw/"
changelog="https://raw.githubusercontent.com/gopasspw/gopass/master/CHANGELOG.md"
distfiles="https://github.com/gopasspw/gopass/archive/v${version}.tar.gz"
checksum=73b7c5c8367e664d85871fba88f4fa806ef0fb75047c767a72b8516dea6f64b3
post_build() {
gopass=$(find $GOPATH/bin -name gopass)
for shell in bash fish zsh; do
vtargetrun $gopass completion $shell > completion.$shell
done
}
post_install() {
vlicense LICENSE
for shell in bash fish zsh; do
vcompletion completion.$shell $shell
done
}