void-packages/srcpkgs/git-team/template

20 lines
737 B
Bash

# Template file for 'git-team'
pkgname=git-team
version=1.5.5
revision=1
build_style=go
go_import_path=github.com/hekmekk/git-team
go_package="${go_import_path}/cmd/git-team ${go_import_path}/cmd/prepare-commit-msg"
short_desc="Manage and enhance git commit messages with co-authors"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="MIT"
homepage="https://github.com/hekmekk/git-team"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=bc88552e78ad67327b153cdc5aeb01ddcb5a99579787a68177fae7aa1a20c27b
post_install() {
vlicense LICENSE
mv ${DESTDIR}/usr/bin/prepare-commit-msg ${DESTDIR}/usr/bin/prepare-commit-msg-git-team
vinstall bash_completion/git-team.bash 0644 usr/share/bash-completion/completions git-team
}