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

Morten Linderud foxboron at archlinux.org
Wed Nov 11 22:27:42 UTC 2020


    Date: Wednesday, November 11, 2020 @ 22:27:42
  Author: foxboron
Revision: 751271

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 22:27:33 UTC (rev 751270)
+++ PKGBUILD	2020-11-11 22:27:42 UTC (rev 751271)
@@ -1,44 +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.2.0
-pkgrel=1
-pkgdesc="The GitHub CLI"
-arch=("x86_64")
-url="https://github.com/cli/cli"
-license=("MIT")
-depends=("glibc" "mailcap")
-makedepends=("go")
-optdepends=("git: To interact with repositories")
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('d2ff68475802292673b168c35f3f1443dd0068ad6f9e2ee11a260c843b548026')
-
-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 751270, github-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 22:27:42 UTC (rev 751271)
@@ -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.2.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=('ae7f03426b9d9ebf40be3cdbd4ce8cec7aeeda8e51acd34d8d0aaf0b3c4ea550')
+
+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