Commit eda35b86 authored by Kevin Daudt's avatar Kevin Daudt 💻
Browse files

community/glab: set proper build version

glab by default uses `git describe` output to determine the glab version
during build that is reported by `glab version`.

As the package is built in the aports git repository, it will use the
aports version, rather than the glab version.

Explicitly provide `GLAB_VERSION` to the make command to fix this.
parent f96d2b5c
Pipeline #71912 passed with stages
in 4 minutes and 2 seconds
......@@ -2,7 +2,7 @@
# Maintainer: solidnerd <niclas@mietz.io>
pkgname=glab
pkgver=1.14.0
pkgrel=0
pkgrel=1
pkgdesc="Open source GitLab CLI tool written in Go"
url="https://github.com/profclems/glab"
arch="all !mips64" # blocked by go
......@@ -30,7 +30,7 @@ prepare() {
}
build() {
make build
make build GLAB_VERSION="$pkgver"
}
package() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment