borg: added all man-pages and shell completions
Closes: #10415 [via git-merge-pr]
This commit is contained in:
parent
b7bc6836d1
commit
c3b9d8be99
1 changed files with 11 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'borg'
|
||||
pkgname=borg
|
||||
version=1.1.4
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="borgbackup-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools python3-devel libressl-devel python3-Sphinx"
|
||||
|
@ -27,5 +27,14 @@ post_build() {
|
|||
}
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
vman docs/_build/man/borg.1
|
||||
|
||||
for f in docs/man/*.1 ; do
|
||||
vman $f
|
||||
done
|
||||
|
||||
cd scripts/shell_completions
|
||||
vinstall bash/${pkgname} 644 usr/share/bash-completion/completions ${pkgname}
|
||||
vinstall fish/${pkgname}.fish 644 usr/share/fish/completions ${pkgname}.fish
|
||||
vinstall zsh/_${pkgname} 644 usr/share/zsh/site-functions _${pkgname}
|
||||
cd ../..
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue