24 lines
754 B
Bash
24 lines
754 B
Bash
# Template file for 'glab'
|
|
pkgname=glab
|
|
version=1.40.0
|
|
revision=1
|
|
build_style=go
|
|
build_helper=qemu
|
|
go_ldflags="-X main.version=$version"
|
|
go_import_path=gitlab.com/gitlab-org/cli
|
|
go_package="${go_import_path}/cmd/glab"
|
|
short_desc="Command line tool bringing GitLab's features to your command line"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://gitlab.com/gitlab-org/cli"
|
|
distfiles="https://gitlab.com/gitlab-org/cli/-/archive/v$version/cli-v$version.tar.gz"
|
|
checksum=0e426a4b0b1945fa16b504c2245a9a525e0b4a858565e482d934b481163d87b5
|
|
|
|
post_install() {
|
|
for shell in bash fish zsh; do
|
|
vtargetrun ${DESTDIR}/usr/bin/glab completion -s ${shell} > glab.${shell}
|
|
vcompletion glab.${shell} ${shell}
|
|
done
|
|
vlicense LICENSE
|
|
}
|