Date: Monday, June 4, 2018 @ 22:15:24 Author: demize Revision: 340467
upgpkg: hub 2.3.0-1 Modified: hub/trunk/PKGBUILD ----------+ PKGBUILD | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-06-04 22:02:06 UTC (rev 340466) +++ PKGBUILD 2018-06-04 22:15:24 UTC (rev 340467) @@ -4,8 +4,8 @@ # Contributor: Alfredo Palhares <[email protected]> pkgname=hub -pkgver=2.2.9 -pkgrel=2 +pkgver=2.3.0 +pkgrel=1 pkgdesc="cli interface for Github" url="https://hub.github.com" @@ -13,26 +13,30 @@ license=('MIT') depends=('git') -makedepends=('go-pie') +makedepends=('go-pie' 'ruby' 'ruby-bundler') source=("hub-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz") -sha256sums=('b3f949c4500288a18ed68c38755962c9571c9e10063fb77583a19d0fcca5ecdf') +sha256sums=('69e48105f7287537e7afaf969825666c1f09267eae3507515151900487342fae') build() { cd hub-$pkgver - ./script/build - gzip --best -c man/hub.1> hub.1.gz - + make } +# Fails with weird 'loadinternal' errors, needs more investigation. +#check() { +# cd hub-$pkgver +# +# make test +#} + package() { cd hub-$pkgver - install -Dm755 bin/hub "$pkgdir"/usr/bin/hub + 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 - install -Dm644 man/hub.1 "$pkgdir"/usr/share/man/man1/hub.1 }
