void-packages/srcpkgs/hub/template
2015-10-30 06:07:57 +01:00

21 lines
635 B
Bash

# Template file for 'hub'
pkgname=hub
version=2.2.2
revision=1
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 <gottox@voidlinux.eu>"
license="MIT"
checksum=610572ee903aea1fa8622c16ab7ddef2bd1bfec9f4854447ab8e0fbdbe6a0cae
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
}