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