void-packages/srcpkgs/hub/template

22 lines
635 B
Bash
Raw Normal View History

2014-02-20 08:44:51 +00:00
# Template file for 'hub'
2014-02-20 08:43:35 +00:00
pkgname=hub
2015-10-30 05:07:57 +00:00
version=2.2.2
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"
maintainer="Enno Boland <gottox@voidlinux.eu>"
2014-02-20 08:43:35 +00:00
license="MIT"
2015-10-30 05:07:57 +00:00
checksum=610572ee903aea1fa8622c16ab7ddef2bd1bfec9f4854447ab8e0fbdbe6a0cae
2014-02-20 08:43:35 +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
}