25 lines
778 B
Bash
25 lines
778 B
Bash
# Template file for 'hub'
|
|
pkgname=hub
|
|
version=2.5.1
|
|
revision=2
|
|
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=35fecdbcaf0afb6b7273a160cc169f76ec62b95105037ac3fc833b24573f9a4f
|
|
|
|
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
|
|
}
|