2014-02-20 08:44:51 +00:00
|
|
|
# Template file for 'hub'
|
2014-02-20 08:43:35 +00:00
|
|
|
pkgname=hub
|
2016-02-02 15:12:03 +00:00
|
|
|
version=2.2.3
|
|
|
|
revision=1
|
2015-02-21 12:38:37 +00:00
|
|
|
build_style=go
|
2015-02-21 12:52:10 +00:00
|
|
|
go_import_path="github.com/github/hub"
|
2015-02-21 12:38:37 +00:00
|
|
|
hostmakedepends="git"
|
2014-02-20 08:43:35 +00:00
|
|
|
homepage="http://hub.github.com/"
|
|
|
|
distfiles="https://github.com/github/hub/archive/v${version}.tar.gz"
|
2015-10-05 21:53:51 +00:00
|
|
|
short_desc="Command line tool for Github"
|
2015-08-09 17:08:42 +00:00
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
2014-02-20 08:43:35 +00:00
|
|
|
license="MIT"
|
2016-02-02 15:12:03 +00:00
|
|
|
checksum=f8a43df60b2efd95c70054324e73f27c3b253ec1c4969de8ea6c514669c688ed
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
export GO15VENDOREXPERIMENT=1
|
|
|
|
}
|
2014-02-20 08:43:35 +00:00
|
|
|
|
2015-05-04 11:53:20 +00:00
|
|
|
post_install() {
|
2015-02-15 11:01:13 +00:00
|
|
|
vman man/${pkgname}.1
|
|
|
|
vlicense LICENSE
|
2015-10-05 21:53:51 +00:00
|
|
|
|
|
|
|
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
|
2014-02-20 08:43:35 +00:00
|
|
|
}
|