[arch-commits] Commit in github-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Thu Aug 25 09:52:27 UTC 2022


    Date: Thursday, August 25, 2022 @ 09:52:27
  Author: alerque
Revision: 1278282

archrelease: copy trunk to community-x86_64

Added:
  github-cli/repos/community-x86_64/PKGBUILD
    (from rev 1278281, github-cli/trunk/PKGBUILD)
Deleted:
  github-cli/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-25 09:52:19 UTC (rev 1278281)
+++ PKGBUILD	2022-08-25 09:52:27 UTC (rev 1278282)
@@ -1,53 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Richard Bradfield <bradfier at fstab.me>
-
-pkgname=github-cli
-pkgver=2.14.6
-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")
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('60b0697b9b1db52adabaa804967a6b63f9ffbc634c00940d08861101bc1d5610')
-
-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
-}
-
-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 1278281, github-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-25 09:52:27 UTC (rev 1278282)
@@ -0,0 +1,53 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Richard Bradfield <bradfier at fstab.me>
+
+pkgname=github-cli
+pkgver=2.14.7
+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")
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('a1a048714d7c7b237ea05f1fb51b3f3f4cdf90a16c60fa46f1df2eb5d96ce28d')
+
+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
+}
+
+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"
+}



More information about the arch-commits mailing list