Commit 3bbb18c1 authored by Roberto Oliveira's avatar Roberto Oliveira

testing/hub: upgrade to 2.5.0

parent 974f26df
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
# Contributor: Eivind Uggedal <eivind@uggedal.com> # Contributor: Eivind Uggedal <eivind@uggedal.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com> # Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=hub pkgname=hub
pkgver=2.4.0 pkgver=2.5.0
pkgrel=0 pkgrel=0
pkgdesc="Extends git with extra features for GitHub" pkgdesc="Extends git with extra features for GitHub"
url="http://hub.github.com/" url="http://hub.github.com/"
arch="all" arch="all"
license="MIT" license="MIT"
makedepends="go bash" makedepends="go dep bash"
options="!strip" options="!strip"
subpackages=" subpackages="
$pkgname-doc $pkgname-doc
...@@ -16,10 +16,18 @@ subpackages=" ...@@ -16,10 +16,18 @@ subpackages="
$pkgname-zsh-completion:zshcomp:noarch" $pkgname-zsh-completion:zshcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver" builddir="$srcdir/src/github.com/hub/$pkgname"
prepare() {
mkdir -p ${builddir%/*}
mv "$srcdir"/$pkgname-$pkgver "$builddir"/
default_prepare
}
build() { build() {
cd "$builddir" cd "$builddir"
export GOPATH="$srcdir"
dep ensure -v
./script/build ./script/build
} }
...@@ -47,4 +55,4 @@ zshcomp() { ...@@ -47,4 +55,4 @@ zshcomp() {
"$subpkgdir"/usr/share/zsh/site-functions/_$pkgname "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname
} }
sha512sums="302a508b7353ed96f969d399d87cd395b5561490c41f46043969a49eaa997a63d2649b3f6f23a565f1b8c821f93c4db1b8c7104c85d0b08fc6d96f03e765f2f7 hub-2.4.0.tar.gz" sha512sums="100e9695ef0bc0f9ea0decdc22d01696f520d741529c1591bbd10d49e9ba14455a12c60343aefb3af619b5dded7a53574c0b2b111005fb045637bc95fb52a4cb hub-2.5.0.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment