27 lines
763 B
Bash
27 lines
763 B
Bash
# Template file for 'tea'
|
|
pkgname=tea
|
|
version=0.9.0
|
|
revision=1
|
|
build_style=go
|
|
build_helper=qemu
|
|
go_import_path=code.gitea.io/tea
|
|
depends="git"
|
|
short_desc="Command line tool to interact with Gitea"
|
|
maintainer="chili-b <dexter.gaonshatford@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://gitea.com/gitea/tea"
|
|
changelog="https://gitea.com/gitea/tea/raw/branch/master/CHANGELOG.md"
|
|
distfiles="https://gitea.com/gitea/tea/archive/v${version}.tar.gz"
|
|
checksum=b7658a074508c117c2af3a55b7b37abf194f84fe94939c9b6b7ff324696258b9
|
|
|
|
post_install() {
|
|
vcompletion contrib/autocomplete.sh bash
|
|
vcompletion contrib/autocomplete.zsh zsh
|
|
|
|
binary=$(find $GOPATH/bin -name $pkgname)
|
|
vtargetrun ${binary} shellcompletion fish > tea.fish
|
|
vcompletion tea.fish fish
|
|
|
|
vlicense LICENSE
|
|
}
|