[arch-commits] Commit in hub/repos (2 files)
Johannes Löthberg
demize at archlinux.org
Mon Jun 4 22:15:28 UTC 2018
Date: Monday, June 4, 2018 @ 22:15:28
Author: demize
Revision: 340468
archrelease: copy trunk to community-testing-x86_64
Added:
hub/repos/community-testing-x86_64/
hub/repos/community-testing-x86_64/PKGBUILD
(from rev 340467, hub/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: hub/repos/community-testing-x86_64/PKGBUILD (from rev 340467, hub/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2018-06-04 22:15:28 UTC (rev 340468)
@@ -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.3.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=('69e48105f7287537e7afaf969825666c1f09267eae3507515151900487342fae')
+
+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