void-packages/srcpkgs/hub/template

25 lines
778 B
Bash

# Template file for 'hub'
pkgname=hub
version=2.5.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=8e3bda092ddc81eaf208c5fd2b87f66e030012129d55fa631635c6adf8437941
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
}