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

Morten Linderud foxboron at archlinux.org
Thu Dec 3 20:08:09 UTC 2020


    Date: Thursday, December 3, 2020 @ 20:08:08
  Author: foxboron
Revision: 769756

archrelease: copy trunk to community-x86_64

Added:
  github-cli/repos/community-x86_64/PKGBUILD
    (from rev 769755, 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-12-03 20:07:59 UTC (rev 769755)
+++ PKGBUILD	2020-12-03 20:08:08 UTC (rev 769756)
@@ -1,45 +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.3.0
-pkgrel=1
-pkgdesc="The GitHub CLI"
-arch=("x86_64")
-url="https://github.com/cli/cli"
-license=("MIT")
-depends=("glibc" "mailcap")
-makedepends=("go")
-checkdepends=("git")
-optdepends=("git: To interact with repositories")
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('ffbf27c3945833dcf57f1cb16c6e8cb3de52a3a6c74c7e9539512e9a7e12b168')
-
-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"
-    make test
-}
-
-package() {
-    cd "cli-$pkgver"
-    install -Dm755 "bin/gh" "$pkgdir/usr/bin/gh"
-    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 769755, github-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-03 20:08:08 UTC (rev 769756)
@@ -0,0 +1,45 @@
+# 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.3.1
+pkgrel=1
+pkgdesc="The GitHub CLI"
+arch=("x86_64")
+url="https://github.com/cli/cli"
+license=("MIT")
+depends=("glibc" "mailcap")
+makedepends=("go")
+checkdepends=("git")
+optdepends=("git: To interact with repositories")
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('5e5dca830aa5012fa1851513c10c0a5de4d3f38c16a172928b1d8e9dd9c75957')
+
+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"
+    make test
+}
+
+package() {
+    cd "cli-$pkgver"
+    install -Dm755 "bin/gh" "$pkgdir/usr/bin/gh"
+    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