diff options
author | Worty | 2020-08-10 17:51:36 +0200 |
---|---|---|
committer | Worty | 2020-08-10 17:52:03 +0200 |
commit | 7425714c282b4ee2a2d63d895963d5e075b19d63 (patch) | |
tree | e5403a02a528b7fe557ae8d250af0c55f5dafa51 | |
parent | 8e8867a28b2e4f68d168e8d43cb90262ed4ceedc (diff) | |
download | aur-7425714c282b4ee2a2d63d895963d5e075b19d63.tar.gz |
fix version and build
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = gitlab-glab pkgdesc = GLab is an open source Gitlab Cli tool written in Go to help work seamlessly with Gitlab from the command line. pkgver = 1.8.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/profclems/glab arch = x86_64 license = MIT @@ -3,7 +3,7 @@ pkgname=gitlab-glab _realpkgname=glab pkgver=1.8.1 -pkgrel=1 +pkgrel=2 pkgdesc='GLab is an open source Gitlab Cli tool written in Go to help work seamlessly with Gitlab from the command line.' arch=('x86_64') url="https://github.com/profclems/glab" @@ -25,8 +25,8 @@ build() { export CGO_CFLAGS="${CFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_LDFLAGS="${LDFLAGS}" - _builddate=$(date -u +%Y-%m-%d) - go build -o build -trimpath -buildmode=pie -ldflags "-extldflags \"${LDFLAGS}\" -X glab.version=${pkgver} -X glab.build=${_builddate} -s -w" -modcacherw ./cmd/glab/main.go + _builddate=$(date -u +%m/%d/%Y) + go build -o build -trimpath -buildmode=pie -ldflags "-extldflags \"${LDFLAGS}\" -X main.version=${pkgver} -X main.build=${_builddate} -s -w" -modcacherw ./cmd/glab/main.go } package() { |