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

Johannes Löthberg demize at archlinux.org
Wed Jun 13 09:54:13 UTC 2018


    Date: Wednesday, June 13, 2018 @ 09:54:13
  Author: demize
Revision: 342879

archrelease: copy trunk to community-x86_64

Added:
  hub/repos/community-x86_64/PKGBUILD
    (from rev 342878, hub/trunk/PKGBUILD)
Deleted:
  hub/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 42 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-13 09:54:07 UTC (rev 342878)
+++ PKGBUILD	2018-06-13 09:54:13 UTC (rev 342879)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Alfredo Palhares <masterkorp at masterkorp.net>
-
-pkgname=hub
-pkgver=2.2.9
-pkgrel=2
-
-pkgdesc="cli interface for Github"
-url="https://hub.github.com"
-arch=('x86_64' 'i686')
-license=('MIT')
-
-depends=('git')
-makedepends=('go-pie')
-
-source=("hub-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz")
-sha256sums=('b3f949c4500288a18ed68c38755962c9571c9e10063fb77583a19d0fcca5ecdf')
-
-build() {
-  cd hub-$pkgver
-
-  ./script/build
-  gzip --best -c man/hub.1> hub.1.gz
-
-}
-
-package() {
-  cd hub-$pkgver
-
-  install -Dm755 bin/hub "$pkgdir"/usr/bin/hub
-
-  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 man/hub.1 "$pkgdir"/usr/share/man/man1/hub.1
-}

Copied: hub/repos/community-x86_64/PKGBUILD (from rev 342878, hub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-13 09:54:13 UTC (rev 342879)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Alfredo Palhares <masterkorp at masterkorp.net>
+
+pkgname=hub
+pkgver=2.4.0
+pkgrel=1
+
+pkgdesc="cli interface for Github"
+url="https://hub.github.com"
+arch=('x86_64')
+license=('MIT')
+
+depends=('git')
+makedepends=('go-pie' 'ruby' 'ruby-bundler')
+
+source=("hub-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz")
+sha256sums=('894eb112be9aa0464fa2c63f48ae8e573ef9e32a00bad700e27fd09a0cb3be4b')
+
+build() {
+  cd hub-$pkgver
+
+  make
+}
+
+# Fails with weird 'loadinternal' errors, needs more investigation.
+#check() {
+#  cd hub-$pkgver
+#
+#  make test
+#}
+
+package() {
+  cd 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
+}



More information about the arch-commits mailing list