Created
February 28, 2015 17:36
-
-
Save niklas-heer/21f82c70d8e11c3baadd to your computer and use it in GitHub Desktop.
hub-bin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Félix "passcod" Saparelli <aur@passcod.name> | |
# Contributors: | |
# Niklas "niklas.heer" Heer <niklas.heer@gmail.com> | |
# Matthieu "CircleCode" Codron <codronm+circlecode@gmail.com> | |
pkgname=hub-bin | |
pkgver=2.2.0 | |
pkgrel=5 | |
pkgdesc="hub helps you win at git. Go-powered version" | |
arch=('i686' 'x86_64') | |
url="https://hub.github.com" | |
license=('MIT') | |
_arch=amd64 # Workaround for mkaurball: https://bugs.archlinux.org/task/40711 | |
[[ $CARCH = i686 ]] && _arch=386 | |
source=("https://github.com/github/hub/releases/download/v${pkgver}/hub-linux-${_arch}-${pkgver}.tar.gz") | |
sha512sums=('SKIP') | |
install='hub-bin.install' | |
package() { | |
cd $srcdir/hub-linux-${_arch}-${pkgver} | |
install -Dm755 {,$pkgdir/usr/bin/}hub | |
install -Dm644 {etc/,$pkgdir/usr/share/git/completion/}hub.bash_completion.sh | |
install -Dm644 etc/hub.zsh_completion "$pkgdir/usr/local/share/zsh/site-functions/_hub" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment