[arch-commits] Commit in github-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Fri Mar 5 22:05:24 UTC 2021
Date: Friday, March 5, 2021 @ 22:05:24
Author: foxboron
Revision: 882539
archrelease: copy trunk to community-x86_64
Added:
github-cli/repos/community-x86_64/PKGBUILD
(from rev 882538, github-cli/trunk/PKGBUILD)
Deleted:
github-cli/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 109 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-05 22:05:14 UTC (rev 882538)
+++ PKGBUILD 2021-03-05 22:05:24 UTC (rev 882539)
@@ -1,55 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Richard Bradfield <bradfier at fstab.me>
-
-pkgname=github-cli
-pkgver=1.6.2
-pkgrel=1
-pkgdesc="The GitHub CLI"
-arch=("x86_64")
-url="https://github.com/cli/cli"
-license=("MIT")
-depends=("glibc" "mailcap")
-makedepends=("go" "git")
-optdepends=("git: To interact with repositories")
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('8cc3cafb85e1234f61ef5c4468d07307142fa0cc99bdc7452251cf1cac9b38ae')
-
-
-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 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"
- # export CGO_CPPFLAGS="${CPPFLAGS}"
- # export CGO_CFLAGS="${CFLAGS}"
- # export CGO_CXXFLAGS="${CXXFLAGS}"
- # export CGO_LDFLAGS="${LDFLAGS}"
- # export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
- make test
-}
-
-package() {
- cd "cli-$pkgver"
- make DESTDIR="${pkgdir}" prefix="/usr" install
- 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 882538, github-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-05 22:05:24 UTC (rev 882539)
@@ -0,0 +1,54 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Richard Bradfield <bradfier at fstab.me>
+
+pkgname=github-cli
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="The GitHub CLI"
+arch=("x86_64")
+url="https://github.com/cli/cli"
+license=("MIT")
+depends=("glibc" "mailcap")
+makedepends=("go" "git")
+optdepends=("git: To interact with repositories")
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('8d737d4e4a2943ca6e08c030c0992468162de0fc1366862d101b8e1389bdc36a')
+
+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 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"
+ # export CGO_CPPFLAGS="${CPPFLAGS}"
+ # export CGO_CFLAGS="${CFLAGS}"
+ # export CGO_CXXFLAGS="${CXXFLAGS}"
+ # export CGO_LDFLAGS="${LDFLAGS}"
+ # export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
+ make test
+}
+
+package() {
+ cd "cli-$pkgver"
+ make DESTDIR="${pkgdir}" prefix="/usr" install
+ 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