# Template file for 'hub' pkgname=hub version=2.2.3 revision=2 build_style=go go_import_path="github.com/github/hub" hostmakedepends="git" homepage="http://hub.github.com/" distfiles="https://github.com/github/hub/archive/v${version}.tar.gz" short_desc="Command line tool for Github" maintainer="Enno Boland " license="MIT" checksum=f8a43df60b2efd95c70054324e73f27c3b253ec1c4969de8ea6c514669c688ed pre_build() { export GO15VENDOREXPERIMENT=1 } post_install() { vman man/${pkgname}.1 vlicense LICENSE vinstall etc/hub.zsh_completion 644 usr/share/zsh/site-functions _hub vinstall etc/hub.bash_completion.sh 644 usr/share/bash-completion/completions hub }