glab: update to 1.22.0.

This commit is contained in:
Malte Gejr 2022-08-09 10:15:45 +02:00 committed by classabbyamp
parent e3857e8c54
commit 8b2776c18d
2 changed files with 8 additions and 4 deletions

View File

@ -1,7 +1,8 @@
# Template file for 'glab' # Template file for 'glab'
pkgname=glab pkgname=glab
version=1.18.1 version=1.22.0
revision=1 revision=1
wrksrc="cli-v$version"
build_style=go build_style=go
go_ldflags="-X main.version=$version" go_ldflags="-X main.version=$version"
go_import_path=github.com/profclems/glab go_import_path=github.com/profclems/glab
@ -9,9 +10,9 @@ go_package="${go_import_path}/cmd/glab"
short_desc="Command line tool bringing GitLab's features to your command line" short_desc="Command line tool bringing GitLab's features to your command line"
maintainer="Enno Boland <gottox@voidlinux.org>" maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT" license="MIT"
homepage="https://github.com/profclems/glab" homepage="https://gitlab.com/gitlab-org/cli"
distfiles="https://github.com/profclems/glab/archive/v$version.tar.gz" distfiles="https://gitlab.com/gitlab-org/cli/-/archive/v$version/cli-v$version.tar.gz"
checksum=ce10c93268eb58fa6d277ebd4ed6de254e4365a1a332122f597e295cc11496c3 checksum=4d9bceb6818c8bf9f681119dae3a65f1c895fa21e9da6b38e8f88d245f524e10
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE

3
srcpkgs/glab/update Normal file
View File

@ -0,0 +1,3 @@
site="https://gitlab.com/gitlab-org/cli/-/tags?format=atom"
pattern="(?<=<title>v).*(?=<\/title>)"
ignore="*pre*"