diff --git a/srcpkgs/glab/template b/srcpkgs/glab/template index 93a65d57a0e..b050f7bebb6 100644 --- a/srcpkgs/glab/template +++ b/srcpkgs/glab/template @@ -1,7 +1,8 @@ # Template file for 'glab' pkgname=glab -version=1.18.1 +version=1.22.0 revision=1 +wrksrc="cli-v$version" build_style=go go_ldflags="-X main.version=$version" 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" maintainer="Enno Boland " license="MIT" -homepage="https://github.com/profclems/glab" -distfiles="https://github.com/profclems/glab/archive/v$version.tar.gz" -checksum=ce10c93268eb58fa6d277ebd4ed6de254e4365a1a332122f597e295cc11496c3 +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 diff --git a/srcpkgs/glab/update b/srcpkgs/glab/update new file mode 100644 index 00000000000..608e9bf8698 --- /dev/null +++ b/srcpkgs/glab/update @@ -0,0 +1,3 @@ +site="https://gitlab.com/gitlab-org/cli/-/tags?format=atom" +pattern="(?<=v).*(?=<\/title>)" +ignore="*pre*"