git-team: update to 1.5.5.

This commit is contained in:
Frank Steinborn 2021-05-09 21:02:12 +02:00 committed by Enno Boland
parent 9287d5dc12
commit f9af381dc0
1 changed files with 3 additions and 12 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'git-team'
pkgname=git-team
version=1.5.2
version=1.5.5
revision=1
build_style=go
go_import_path=github.com/hekmekk/git-team
@ -10,19 +10,10 @@ maintainer="Frank Steinborn <steinex@nognu.de>"
license="MIT"
homepage="https://github.com/hekmekk/git-team"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=1ce94afe46fa105597436231f0768d0464519340d43b3f82095312c85b3e7d99
pre_build() {
vsed -e 's,/usr/local/etc/git-team/hooks,/usr/libexec/git-team/hooks,g' -i src/command/enable/commitsettings/datasource/static_value_data_source_test.go
vsed -e 's,/usr/local/etc/git-team/hooks,/usr/libexec/git-team/hooks,g' -i src/command/enable/commitsettings/datasource/static_value_data_source.go
}
checksum=bc88552e78ad67327b153cdc5aeb01ddcb5a99579787a68177fae7aa1a20c27b
post_install() {
vlicense LICENSE
vmkdir usr/libexec/git-team/hooks
mv ${DESTDIR}/usr/bin/prepare-commit-msg ${DESTDIR}/usr/libexec/git-team/hooks
vinstall git-hooks/proxy.sh 0755 usr/libexec/git-team/hooks
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
}