hub: add man-pages
This commit is contained in:
parent
1d503b4f3a
commit
fe863b0666
@ -1,10 +1,10 @@
|
||||
# Template file for 'hub'
|
||||
pkgname=hub
|
||||
version=2.6.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=go
|
||||
go_import_path=github.com/github/hub
|
||||
hostmakedepends="git"
|
||||
hostmakedepends="git ruby-ronn"
|
||||
short_desc="Command line tool for Github"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
license="MIT"
|
||||
@ -14,8 +14,18 @@ distfiles="https://github.com/github/hub/archive/v${version}.tar.gz"
|
||||
checksum=c4df5ce953aa5dd5c4fa57ada96559b4b76bbd30a9e961e10e881be869cf4f2c
|
||||
|
||||
post_install() {
|
||||
# Requires ronn
|
||||
# vman man/${pkgname}.1
|
||||
sed -i 's@1.ronn bin/ronn@1.ronn@;s@bin/ronn@ronn@' Makefile
|
||||
|
||||
make man-pages
|
||||
|
||||
for m in share/man/man1/*.1; do
|
||||
vman $m
|
||||
done
|
||||
|
||||
for d in share/man/man1/*.html; do
|
||||
vdoc $d
|
||||
done
|
||||
|
||||
vlicense LICENSE
|
||||
|
||||
vinstall etc/hub.zsh_completion 644 usr/share/zsh/site-functions _hub
|
||||
|
Loading…
x
Reference in New Issue
Block a user