[arch-commits] Commit in hub/repos/community-x86_64 (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Tue Jun 18 01:22:50 UTC 2019
Date: Tuesday, June 18, 2019 @ 01:22:50
Author: eschwartz
Revision: 482057
archrelease: copy trunk to community-x86_64
Added:
hub/repos/community-x86_64/PKGBUILD
(from rev 482056, hub/trunk/PKGBUILD)
Deleted:
hub/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 104 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 54 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-18 01:22:32 UTC (rev 482056)
+++ PKGBUILD 2019-06-18 01:22:50 UTC (rev 482057)
@@ -1,50 +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.11.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=('1a80685d3d4fe14012c4f5e5cda9a2c5fe680a81729e692008aa1414f8e1f972')
-b2sums=('0650e21f9a3ff83d07f2a0e2ba1bf11bac1ac96fc4a17fc77bcc21addc1fd65769e49751d19dd79624970d8474d727695ee90f28f42b07fa6f9cd0b775dc6c0d')
-
-prepare() {
- mkdir -p src/github.com/github
- cp -r hub-$pkgver src/github.com/github/hub
-}
-
-build() {
- cd src/github.com/github/hub
-
- export GOPATH="$srcdir"
- make
- make man-pages
-}
-
-check() {
- cd src/github.com/github/hub
-
- GOPATH="$srcdir" make test
-}
-
-package() {
- cd src/github.com/github/hub
-
- 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 482056, hub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-06-18 01:22:50 UTC (rev 482057)
@@ -0,0 +1,54 @@
+# 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.12.0
+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"
+ "https://github.com/github/hub/commit/7d915e232caed4f89b95f9c93c94c98b3f38a9c9.patch")
+sha256sums=('937e0ea3ba6dcc8030889d987313efa4da27b6c54ed20fb40fbf5ff9df4c3780'
+ 'fc7f7bfc4a58c9c631fd8f3696c96a7d0a96dc53322f1cc3e95cd003ecf7661e')
+b2sums=('f4ba878c5ea541b3eeee9b8640bc615ed0b1d0e2686d9b491b05cff2664a9e91e29a6bf4ef2bba415de8f6f3439a33807b9e19c8a5da6b90c845bcc963c276f1'
+ 'b3b3f9c77ff44e4c71722cbe894dd5878c2740e813d27dc3883e242acde1c4e2b0d80756ad7e370dce310c5e1b5c8a9e9bf482a3f54ab9ea313676e2d792dda1')
+
+prepare() {
+ cd "$srcdir"/hub-$pkgver
+
+ # activate go modules by default on new enough golang compiler
+ patch -p1 -i ../7d915e232caed4f89b95f9c93c94c98b3f38a9c9.patch
+}
+
+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
+}
More information about the arch-commits
mailing list