diff --git a/srcpkgs/hub/template b/srcpkgs/hub/template index 760638757ca..181f9f3e8bb 100644 --- a/srcpkgs/hub/template +++ b/srcpkgs/hub/template @@ -1,7 +1,7 @@ # Template file for 'hub' pkgname=hub -version=2.6.0 -revision=2 +version=2.6.1 +revision=1 build_style=go go_import_path=github.com/github/hub hostmakedepends="git ruby-ronn" @@ -11,14 +11,16 @@ license="MIT" homepage="https://hub.github.com/" changelog="https://github.com/github/hub/releases" distfiles="https://github.com/github/hub/archive/v${version}.tar.gz" -checksum=c4df5ce953aa5dd5c4fa57ada96559b4b76bbd30a9e961e10e881be869cf4f2c +checksum=3a78f7fc8a024cc232463c664fecf0b49574f5205a49f2320886763c136ac000 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" hub" fi 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 sed -i 's|bin/hub|hub|g' Makefile