hub: update to 2.6.1.
This commit is contained in:
parent
2c90b67a5e
commit
751c92dc0e
1 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'hub'
|
# Template file for 'hub'
|
||||||
pkgname=hub
|
pkgname=hub
|
||||||
version=2.6.0
|
version=2.6.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/github/hub
|
go_import_path=github.com/github/hub
|
||||||
hostmakedepends="git ruby-ronn"
|
hostmakedepends="git ruby-ronn"
|
||||||
|
@ -11,14 +11,16 @@ license="MIT"
|
||||||
homepage="https://hub.github.com/"
|
homepage="https://hub.github.com/"
|
||||||
changelog="https://github.com/github/hub/releases"
|
changelog="https://github.com/github/hub/releases"
|
||||||
distfiles="https://github.com/github/hub/archive/v${version}.tar.gz"
|
distfiles="https://github.com/github/hub/archive/v${version}.tar.gz"
|
||||||
checksum=c4df5ce953aa5dd5c4fa57ada96559b4b76bbd30a9e961e10e881be869cf4f2c
|
checksum=3a78f7fc8a024cc232463c664fecf0b49574f5205a49f2320886763c136ac000
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" hub"
|
hostmakedepends+=" hub"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
sed -i 's@1.ronn bin/ronn@1.ronn@;s@bin/ronn@ronn@' Makefile
|
# Don't use bundled ronn
|
||||||
|
mkdir bin
|
||||||
|
ln -s /usr/bin/ronn bin/ronn
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -i 's|bin/hub|hub|g' Makefile
|
sed -i 's|bin/hub|hub|g' Makefile
|
||||||
|
|
Loading…
Reference in a new issue