[arch-commits] Commit in hub/trunk (PKGBUILD)

Johannes Löthberg demize at archlinux.org
Tue Feb 2 21:02:22 UTC 2016


    Date: Tuesday, February 2, 2016 @ 22:02:21
  Author: demize
Revision: 160028

upgpkg: hub 2.2.3-1

Modified:
  hub/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++----------------
 1 file changed, 18 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-02 20:32:38 UTC (rev 160027)
+++ PKGBUILD	2016-02-02 21:02:21 UTC (rev 160028)
@@ -1,22 +1,26 @@
 # $Id$
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# 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
-_pkgdir=github-hub-
-pkgver=2.2.2
-pkgrel=2
+pkgver=2.2.3
+pkgrel=1
+
 pkgdesc="cli interface for Github"
+url="https://hub.github.com"
 arch=('x86_64' 'i686')
-url="https://hub.github.com"
+license=('MIT')
+
 depends=('git')
 makedepends=('go')
-license=('MIT')
+
+_source_dir=github-hub-88296d1
 source=("$pkgname-$pkgver.tar.gz::https://github.com/github/hub/tarball/v$pkgver")
-sha256sums=('6f3967913bb68c65f9f155b6db4af4629558db7ff89034de5f8fe635a55187b5')
+sha256sums=('db21e3ff93ef1747970bb58a59dba4e84c85047ce6ef99cc640a98be71c3702f')
 
 build() {
-  cd "$srcdir/$_pkgdir"*
+  cd $_source_dir
 
   ./script/build
   gzip --best -c man/hub.1> hub.1.gz
@@ -24,14 +28,12 @@
 }
 
 package() {
-  cd "$srcdir/$_pkgdir"*
+  cd $_source_dir
 
-  install -Dm755 "$srcdir/$_pkgdir"*"/$pkgname" "$pkgdir/usr/bin/$pkgname"
+  install -Dm755 hub "$pkgdir"/usr/bin/hub
 
-  install -Dm644 "$srcdir/$_pkgdir"*"/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  install -Dm644 "$srcdir/$_pkgdir"*"/etc/hub.bash_completion.sh" "$pkgdir/usr/share/bash-completion/completions/hub"
-  install -Dm644 "$srcdir/$_pkgdir"*"/etc/hub.zsh_completion" "$pkgdir/usr/share/zsh/site-functions/_hub"
-
-  install -Dm644 "$srcdir/$_pkgdir"*"/man/$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1"
-
+  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
 }



More information about the arch-commits mailing list