Skip to content
Snippets Groups Projects
Commit f4d91f36 authored by Leo's avatar Leo
Browse files

community/glab: upgrade to 1.17.0

parent 8539acd9
No related branches found
No related tags found
1 merge request!21470community/glab: upgrade to 1.17.0
# Contributor: solidnerd <niclas@mietz.io> # Contributor: solidnerd <niclas@mietz.io>
# Maintainer: solidnerd <niclas@mietz.io> # Maintainer: solidnerd <niclas@mietz.io>
pkgname=glab pkgname=glab
pkgver=1.16.0 pkgver=1.17.0
pkgrel=0 pkgrel=0
pkgdesc="Open source GitLab CLI tool written in Go" pkgdesc="Open source GitLab CLI tool written in Go"
url="https://github.com/profclems/glab" url="https://github.com/profclems/glab"
...@@ -17,18 +17,8 @@ subpackages=" ...@@ -17,18 +17,8 @@ subpackages="
" "
source="$pkgname-$pkgver.tar.gz::https://github.com/profclems/glab/archive/v$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/profclems/glab/archive/v$pkgver.tar.gz"
builddir="$srcdir/src/pofclems/glab/$pkgname"
export GOPATH="$srcdir"
export CGO_ENABLED=0 export CGO_ENABLED=0
prepare() {
default_prepare
mkdir -p ${builddir%/*}
mv "$srcdir"/$pkgname-$pkgver "$builddir"/
}
build() { build() {
make build GLAB_VERSION=$pkgver make build GLAB_VERSION=$pkgver
} }
...@@ -45,4 +35,6 @@ package() { ...@@ -45,4 +35,6 @@ package() {
bin/glab completion --shell zsh > "$pkgdir"/usr/share/zsh/site-functions/_glab bin/glab completion --shell zsh > "$pkgdir"/usr/share/zsh/site-functions/_glab
bin/glab completion --shell fish > "$pkgdir"/usr/share/fish/completions/glab.fish bin/glab completion --shell fish > "$pkgdir"/usr/share/fish/completions/glab.fish
} }
sha512sums="e2fa29a5bda6ed49428ff300f2cbd41297f367b0d17ca89f1bf6b39e8aee7f77d2cd1ce4def40b292e67a844e0cc3d79c2bc44badccb689c298018d833729c41 glab-1.16.0.tar.gz" sha512sums="
6ab3dd509f55dde6d852ed1280077b603ca0e1a2e745a9fbfbe44d6f932f3b32f626576c0d2d9edfc077cb5664cf25e3779ec17c22fb4a80714fab30d03b8d04 glab-1.17.0.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment