void-packages/srcpkgs/hub/template
2016-09-10 08:48:30 +02:00

21 lines
635 B
Bash

# Template file for 'hub'
pkgname=hub
version=2.2.6
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=311f49f90140c963be590fc59815784a7121ab84dcb8328fba1f9a580d415ebe
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
}