Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages /
github-cli
Commits:
67eab60d by Caleb Maclennan at 2024-04-22T12:51:31+03:00
upgpkg: 2.48.0-2: Allow build with CGO, closes !1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = github-cli
pkgdesc = The GitHub CLI
pkgver = 2.48.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/cli/cli
arch = x86_64
license = MIT
=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
pkgname=github-cli
pkgver=2.48.0
-pkgrel=1
+pkgrel=2
pkgdesc="The GitHub CLI"
arch=("x86_64")
url="https://github.com/cli/cli"
@@ -34,13 +34,12 @@ build() {
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
- export CGO_ENABLED=0
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw'
make GH_VERSION="v$pkgver" bin/gh manpages
- bin/gh completion -s bash | install -Dm644 /dev/stdin
share/bash-completion/completions/gh
- bin/gh completion -s zsh | install -Dm644 /dev/stdin
share/zsh/site-functions/_gh
- bin/gh completion -s fish | install -Dm644 /dev/stdin
share/fish/vendor_completions.d/gh.fish
+ bin/gh completion -s bash | install -Dm0644 /dev/stdin
share/bash-completion/completions/gh
+ bin/gh completion -s zsh | install -Dm0644 /dev/stdin
share/zsh/site-functions/_gh
+ bin/gh completion -s fish | install -Dm0644 /dev/stdin
share/fish/vendor_completions.d/gh.fish
}
check(){
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/github-cli/-/commit/67eab60db83f396fea2c00f6620967b7ebbbea53
--
This project does not include diff previews in email notifications.
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/github-cli/-/commit/67eab60db83f396fea2c00f6620967b7ebbbea53
You're receiving this email because of your account on gitlab.archlinux.org.