25 lines
779 B
Bash
25 lines
779 B
Bash
# Template file for 'hub'
|
|
pkgname=hub
|
|
version=2.4.0
|
|
revision=1
|
|
build_style=go
|
|
go_import_path=github.com/github/hub
|
|
hostmakedepends="git"
|
|
short_desc="Command line tool for Github"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="https://hub.github.com/"
|
|
#changelog="https://github.com/github/hub/releases"
|
|
distfiles="https://github.com/github/hub/archive/v${version}.tar.gz"
|
|
checksum=894eb112be9aa0464fa2c63f48ae8e573ef9e32a00bad700e27fd09a0cb3be4b
|
|
|
|
post_install() {
|
|
# Requires ronn
|
|
# 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
|
|
vinstall etc/hub.fish_completion 644 usr/share/fish/completions hub.fish
|
|
}
|