borg: install fish completion to vendor_completions.d
This commit is contained in:
parent
3f7dad80e3
commit
7290c0ec5c
|
@ -1,13 +1,12 @@
|
|||
# Template file for 'borg'
|
||||
pkgname=borg
|
||||
version=1.1.10
|
||||
revision=3
|
||||
revision=4
|
||||
wrksrc="borgbackup-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools python3-devel libressl-devel"
|
||||
makedepends="${hostmakedepends/python3-setuptools/} acl-devel liblz4-devel libzstd-devel"
|
||||
depends="python3-llfuse python3-setuptools"
|
||||
pycompile_module="borg"
|
||||
short_desc="Deduplicating backup program with compression and encryption"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="BSD-3-Clause"
|
||||
|
@ -21,12 +20,13 @@ export BORG_LIBLZ4_PREFIX="${XBPS_CROSS_BASE}/usr"
|
|||
export BORG_LIBZSTD_PREFIX="${XBPS_CROSS_BASE}/usr"
|
||||
|
||||
pre_build() {
|
||||
sed -i setup.py \
|
||||
vsed -i setup.py \
|
||||
-e '/setup_requires=/d' \
|
||||
-e '/use_scm_version=/,+2d' \
|
||||
-e "/name=/ a\
|
||||
version='${version}',"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
||||
|
@ -36,7 +36,6 @@ post_install() {
|
|||
|
||||
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 fish/${pkgname}.fish 644 usr/share/fish/vendor_completions.d
|
||||
vinstall zsh/_${pkgname} 644 usr/share/zsh/site-functions _${pkgname}
|
||||
cd ../..
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue