[arch-commits] Commit in hub/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sun Jul 5 15:21:08 UTC 2020
Date: Sunday, July 5, 2020 @ 15:21:07
Author: foxboron
Revision: 657862
archrelease: copy trunk to community-x86_64
Added:
hub/repos/community-x86_64/PKGBUILD
(from rev 657861, hub/trunk/PKGBUILD)
Deleted:
hub/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 50 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-05 15:20:59 UTC (rev 657861)
+++ PKGBUILD 2020-07-05 15:21:07 UTC (rev 657862)
@@ -1,44 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Alfredo Palhares <masterkorp at masterkorp.net>
-
-pkgname=hub
-pkgver=2.14.2
-pkgrel=1
-
-pkgdesc="cli interface for Github"
-url="https://hub.github.com"
-arch=('x86_64')
-license=('MIT')
-
-depends=('git')
-makedepends=('go-pie')
-
-source=("hub-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz")
-sha256sums=('e19e0fdfd1c69c401e1c24dd2d4ecf3fd9044aa4bd3f8d6fd942ed1b2b2ad21a')
-b2sums=('b0ff7bcebca7f4b515acf412b756da8512dad7c89f1976cc749c68d70303ff7172b6817e92c839c1864b55ac137e67cf1c99fa07e09b01fd76ad3d40be8d2163')
-
-build() {
- cd "$srcdir"/hub-$pkgver
-
- make
- make man-pages
-}
-
-check() {
- cd "$srcdir"/hub-$pkgver
-
- make test
-}
-
-package() {
- cd "$srcdir"/hub-$pkgver
-
- make PREFIX="$pkgdir"/usr install
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- install -Dm644 etc/hub.bash_completion.sh "$pkgdir"/usr/share/bash-completion/completions/hub
- install -Dm644 etc/hub.zsh_completion "$pkgdir"/usr/share/zsh/site-functions/_hub
- install -Dm644 etc/hub.fish_completion "$pkgdir"/usr/share/fish/vendor_completions.d/hub.fish
-}
Copied: hub/repos/community-x86_64/PKGBUILD (from rev 657861, hub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-05 15:21:07 UTC (rev 657862)
@@ -0,0 +1,50 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Alfredo Palhares <masterkorp at masterkorp.net>
+
+pkgname=hub
+pkgver=2.14.2
+pkgrel=2
+
+pkgdesc="cli interface for Github"
+url="https://hub.github.com"
+arch=('x86_64')
+license=('MIT')
+
+depends=('git')
+makedepends=('go')
+
+source=("hub-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz")
+sha256sums=('e19e0fdfd1c69c401e1c24dd2d4ecf3fd9044aa4bd3f8d6fd942ed1b2b2ad21a')
+b2sums=('b0ff7bcebca7f4b515acf412b756da8512dad7c89f1976cc749c68d70303ff7172b6817e92c839c1864b55ac137e67cf1c99fa07e09b01fd76ad3d40be8d2163')
+
+build() {
+ cd "$srcdir"/hub-$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
+ make man-pages
+}
+
+check() {
+ cd "$srcdir"/hub-$pkgver
+
+ make test
+}
+
+package() {
+ cd "$srcdir"/hub-$pkgver
+
+ make PREFIX="$pkgdir"/usr install
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 etc/hub.bash_completion.sh "$pkgdir"/usr/share/bash-completion/completions/hub
+ install -Dm644 etc/hub.zsh_completion "$pkgdir"/usr/share/zsh/site-functions/_hub
+ install -Dm644 etc/hub.fish_completion "$pkgdir"/usr/share/fish/vendor_completions.d/hub.fish
+}
More information about the arch-commits
mailing list