25 lines
778 B
Bash
25 lines
778 B
Bash
# Template file for 'hub'
|
|
pkgname=hub
|
|
version=2.6.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=c4df5ce953aa5dd5c4fa57ada96559b4b76bbd30a9e961e10e881be869cf4f2c
|
|
|
|
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
|
|
}
|