Date: Tuesday, April 4, 2023 @ 20:20:30
Author: alerque
Revision: 1435244
archrelease: copy trunk to community-x86_64
Added:
github-cli/repos/community-x86_64/PKGBUILD
(from rev 1435243, github-cli/trunk/PKGBUILD)
Deleted:
github-cli/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-04 20:20:22 UTC (rev 1435243)
+++ PKGBUILD 2023-04-04 20:20:30 UTC (rev 1435244)
@@ -1,57 +0,0 @@
-# Maintainer: Morten Linderud <[email protected]>
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Eli Schwartz <[email protected]>
-# Contributor: Richard Bradfield <[email protected]>
-
-pkgname=github-cli
-pkgver=2.25.1
-pkgrel=1
-pkgdesc="The GitHub CLI"
-arch=("x86_64")
-url="https://github.com/cli/cli"
-license=("MIT")
-depends=("glibc" "mailcap")
-makedepends=("go" "git")
-checkdepends=("openssh")
-optdepends=("git: To interact with repositories"
- "org.freedesktop.secrets: Store credentials in system keyring")
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('d3b28da03f49600697d2e80c2393425bd382e340040c34641bf3569593c7fbe8')
-
-prepare() {
- cd "cli-${pkgver}"
- # TODO: These tests invoke the TTY and our container *really* does not
like that
- rm pkg/cmd/auth/login/login_test.go
- # Drop tests that invoking 3rd party server processes
- rm pkg/cmd/search/shared/shared_test.go \
- internal/codespaces/rpc/invoker_test.go
-}
-
-build() {
- cd "cli-$pkgver"
-
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export CGO_ENABLED=0
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw
-ldflags=-linkmode=external"
-
- 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
-}
-
-check(){
- cd "cli-$pkgver"
- make test
-}
-
-package() {
- cd "cli-$pkgver"
- make DESTDIR="${pkgdir}" prefix="/usr" install
- cp -r share/ "$pkgdir"/usr
- install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
-}
Copied: github-cli/repos/community-x86_64/PKGBUILD (from rev 1435243,
github-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-04 20:20:30 UTC (rev 1435244)
@@ -0,0 +1,57 @@
+# Maintainer: Morten Linderud <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+# Contributor: Richard Bradfield <[email protected]>
+
+pkgname=github-cli
+pkgver=2.26.0
+pkgrel=1
+pkgdesc="The GitHub CLI"
+arch=("x86_64")
+url="https://github.com/cli/cli"
+license=("MIT")
+depends=("glibc" "mailcap")
+makedepends=("go" "git")
+checkdepends=("openssh")
+optdepends=("git: To interact with repositories"
+ "org.freedesktop.secrets: Store credentials in system keyring")
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('4f941815b7ea3f7e42e67a66d3ac5cebd69aa92bc59411506251708482a797a8')
+
+prepare() {
+ cd "cli-${pkgver}"
+ # TODO: These tests invoke the TTY and our container *really* does not
like that
+ rm pkg/cmd/auth/login/login_test.go
+ # Drop tests that invoking 3rd party server processes
+ rm pkg/cmd/search/shared/shared_test.go \
+ internal/codespaces/rpc/invoker_test.go
+}
+
+build() {
+ cd "cli-$pkgver"
+
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export CGO_ENABLED=0
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw
-ldflags=-linkmode=external"
+
+ 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
+}
+
+check(){
+ cd "cli-$pkgver"
+ make test
+}
+
+package() {
+ cd "cli-$pkgver"
+ make DESTDIR="${pkgdir}" prefix="/usr" install
+ cp -r share/ "$pkgdir"/usr
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
+}