void-packages/srcpkgs/glab/template

19 lines
585 B
Bash

# Template file for 'glab'
pkgname=glab
version=1.22.0
revision=1
build_style=go
go_ldflags="-X main.version=$version"
go_import_path=github.com/profclems/glab
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=4d9bceb6818c8bf9f681119dae3a65f1c895fa21e9da6b38e8f88d245f524e10
post_install() {
vlicense LICENSE
}