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

Morten Linderud foxboron at archlinux.org
Wed Jul 29 18:17:48 UTC 2020


    Date: Wednesday, July 29, 2020 @ 18:17:48
  Author: foxboron
Revision: 665796

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-29 18:17:40 UTC (rev 665795)
+++ PKGBUILD	2020-07-29 18:17:48 UTC (rev 665796)
@@ -1,45 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Richard Bradfield <bradfier at fstab.me>
-
-pkgname=github-cli
-pkgver=0.11.0
-pkgrel=2
-pkgdesc="The GitHub CLI"
-arch=("x86_64")
-url="https://github.com/cli/cli"
-license=("MIT")
-depends=("glibc")
-makedepends=("go")
-optdepends=("git: To interact with repositories")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/cli/cli/archive/v$pkgver.tar.gz")
-sha256sums=('e2137491f269df179ded7066f641ae7879a40870be53170a0388310e904158b0')
-
-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"
-
-    make GH_VERSION="v$pkgver" bin/gh manpages
-}
-
-check(){
-    cd "cli-$pkgver"
-    make test
-}
-
-package() {
-    cd "cli-$pkgver"
-    install -Dm755 "bin/gh" "$pkgdir/usr/bin/gh"
-    install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-    install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
-
-    install -Dm644 -t "$pkgdir/usr/share/man/man1/" share/man/man1/*
-
-    bin/gh completion -s bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/gh"
-    bin/gh completion -s zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_gh"
-    bin/gh completion -s fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/gh.fish"
-}

Copied: github-cli/repos/community-x86_64/PKGBUILD (from rev 665795, github-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-29 18:17:48 UTC (rev 665796)
@@ -0,0 +1,45 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Richard Bradfield <bradfier at fstab.me>
+
+pkgname=github-cli
+pkgver=0.11.1
+pkgrel=1
+pkgdesc="The GitHub CLI"
+arch=("x86_64")
+url="https://github.com/cli/cli"
+license=("MIT")
+depends=("glibc")
+makedepends=("go")
+optdepends=("git: To interact with repositories")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/cli/cli/archive/v$pkgver.tar.gz")
+sha256sums=('5ec8bab6a2c6f26cabc2a6b5f301d8971f9f654a85c6da5e7203e5e2d94cbec0')
+
+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"
+
+    make GH_VERSION="v$pkgver" bin/gh manpages
+}
+
+check(){
+    cd "cli-$pkgver"
+    make test
+}
+
+package() {
+    cd "cli-$pkgver"
+    install -Dm755 "bin/gh" "$pkgdir/usr/bin/gh"
+    install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+    install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
+
+    install -Dm644 -t "$pkgdir/usr/share/man/man1/" share/man/man1/*
+
+    bin/gh completion -s bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/gh"
+    bin/gh completion -s zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_gh"
+    bin/gh completion -s fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/gh.fish"
+}



More information about the arch-commits mailing list