diff options
author | Jonne Haß | 2018-06-11 13:36:27 +0200 |
---|---|---|
committer | Jonne Haß | 2018-06-11 13:36:27 +0200 |
commit | 3b8718082ecc4465da9141333d927abd94927912 (patch) | |
tree | 6ffad77678a2aac9415744166bfc6020a57ee089 | |
parent | 819af5d4f2db64874be38fee6b788af734a88832 (diff) | |
download | aur-3b8718082ecc4465da9141333d927abd94927912.tar.gz |
hub-git: 2.4.0
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = hub-git pkgdesc = cli interface for Github - pkgver = v2.3.0.pre10.r12.g5e811d3b + pkgver = v2.4.0.r10.g98f153f3 pkgrel = 1 url = https://hub.github.com arch = x86_64 @@ -1,6 +1,6 @@ # Maintainer: Jonne Haß <me@jhass.eu> pkgname=hub-git -pkgver=v2.3.0.pre10.r12.g5e811d3b +pkgver=v2.4.0.r10.g98f153f3 pkgrel=1 pkgdesc="cli interface for Github" url="https://hub.github.com" @@ -21,7 +21,10 @@ pkgver() { build() { cd "$srcdir/${pkgname/-git/}" - make all man-pages + export GOPATH="$srcdir" + go get -fix -v -x github.com/github/hub + script/bootstrap + make -j1 bin/hub man-pages } package() { @@ -31,6 +34,7 @@ package() { install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname/-git/}/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" for manpage in share/man/man1/hub.1 share/man/man1/hub-*.1; do install -Dm644 $manpage "$pkgdir/usr/share/man/man1/$(basename $manpage)" done |