Date: Wednesday, February 18, 2015 @ 15:58:42 Author: dwallace Revision: 127924
upgpkg: hub 2.2.0-1 upgpkg: hub 2.2.0 Modified: hub/trunk/PKGBUILD ----------+ PKGBUILD | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-02-18 14:58:13 UTC (rev 127923) +++ PKGBUILD 2015-02-18 14:58:42 UTC (rev 127924) @@ -4,20 +4,21 @@ pkgname=hub _pkgdir=github-hub- -pkgver=1.12.4 +pkgver=2.2.0 pkgrel=1 pkgdesc="cli interface for Github" -arch=('any') +arch=('x86_64' 'i686') url="https://hub.github.com" -depends=('git' 'ruby') +depends=('git') +makedepends=('go') license=('MIT') source=("$pkgname-$pkgver.tar.gz::https://github.com/github/hub/tarball/v$pkgver") -sha256sums=('54da3c0a3cd0f1e4c36942150ce2bca033adfbc0544d0fc06fa107c515b47555') +sha256sums=('cd1fb034c7793fd0f4fe1419eb253602accf0f9c051544112cc5d6fa6b449f26') build() { cd "$srcdir/$_pkgdir"* - rake standalone + ./script/build gzip --best -c man/hub.1> hub.1.gz } @@ -27,9 +28,6 @@ install -Dm755 "$srcdir/$_pkgdir"*"/$pkgname" "$pkgdir/usr/bin/$pkgname" - install -d "$pkgdir/usr/share/$pkgname" - cp -dpr --no-preserve=ownership "$srcdir/$_pkgdir"*"/git-hooks" "$pkgdir/usr/share/$pkgname/git-hooks" - 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"