Update BackTunnel PKGBUILD: add backtunnel-umount, extend bash completion, and refine dependency descriptions
This commit is contained in:
@@ -12,7 +12,7 @@ license=('GPL3')
|
|||||||
depends=('bash' 'openssh' 'sshfs' 'kdialog' 'konsole' 'coreutils')
|
depends=('bash' 'openssh' 'sshfs' 'kdialog' 'konsole' 'coreutils')
|
||||||
optdepends=(
|
optdepends=(
|
||||||
'qrencode: show QR code for invites'
|
'qrencode: show QR code for invites'
|
||||||
'bash-completion: tab completion for backtunnel-share/access'
|
'bash-completion: tab completion for backtunnel tools'
|
||||||
'plasma-desktop: Dolphin (KDE/Plasma) service menus'
|
'plasma-desktop: Dolphin (KDE/Plasma) service menus'
|
||||||
)
|
)
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
@@ -46,6 +46,7 @@ package() {
|
|||||||
install -Dm755 "scripts/backtunnel-auth-setup" "${pkgdir}/usr/bin/backtunnel-auth-setup"
|
install -Dm755 "scripts/backtunnel-auth-setup" "${pkgdir}/usr/bin/backtunnel-auth-setup"
|
||||||
install -Dm755 "scripts/backtunnel-keys" "${pkgdir}/usr/bin/backtunnel-keys"
|
install -Dm755 "scripts/backtunnel-keys" "${pkgdir}/usr/bin/backtunnel-keys"
|
||||||
install -Dm755 "scripts/backtunnel-authorize" "${pkgdir}/usr/bin/backtunnel-authorize"
|
install -Dm755 "scripts/backtunnel-authorize" "${pkgdir}/usr/bin/backtunnel-authorize"
|
||||||
|
install -Dm755 "scripts/backtunnel-umount" "${pkgdir}/usr/bin/backtunnel-umount"
|
||||||
|
|
||||||
# Optional helper to create per-user config from example
|
# Optional helper to create per-user config from example
|
||||||
if [[ -f "scripts/backtunnel-init" ]]; then
|
if [[ -f "scripts/backtunnel-init" ]]; then
|
||||||
@@ -70,10 +71,12 @@ EOF
|
|||||||
# Man page
|
# Man page
|
||||||
install -Dm644 "man/backtunnel.1" "${pkgdir}/usr/share/man/man1/backtunnel.1"
|
install -Dm644 "man/backtunnel.1" "${pkgdir}/usr/share/man/man1/backtunnel.1"
|
||||||
|
|
||||||
# Bash completion (install for both command names)
|
# Bash completion (install for all command entry points that source it)
|
||||||
if [[ -f "completions/backtunnel.bash" ]]; then
|
if [[ -f "completions/backtunnel.bash" ]]; then
|
||||||
install -Dm644 "completions/backtunnel.bash" "${pkgdir}/usr/share/bash-completion/completions/backtunnel-share"
|
install -Dm644 "completions/backtunnel.bash" "${pkgdir}/usr/share/bash-completion/completions/backtunnel-share"
|
||||||
install -Dm644 "completions/backtunnel.bash" "${pkgdir}/usr/share/bash-completion/completions/backtunnel-access"
|
install -Dm644 "completions/backtunnel.bash" "${pkgdir}/usr/share/bash-completion/completions/backtunnel-access"
|
||||||
|
install -Dm644 "completions/backtunnel.bash" "${pkgdir}/usr/share/bash-completion/completions/backtunnel-share-tui"
|
||||||
|
install -Dm644 "completions/backtunnel.bash" "${pkgdir}/usr/share/bash-completion/completions/backtunnel-access-tui"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Dolphin service menus (Plasma 6 path)
|
# Dolphin service menus (Plasma 6 path)
|
||||||
@@ -91,4 +94,4 @@ EOF
|
|||||||
# Profiles: system default + packaged example/fallback
|
# Profiles: system default + packaged example/fallback
|
||||||
install -Dm644 "docs/profiles.ini.example" "${pkgdir}/etc/backtunnel/profiles.ini"
|
install -Dm644 "docs/profiles.ini.example" "${pkgdir}/etc/backtunnel/profiles.ini"
|
||||||
install -Dm644 "docs/profiles.ini.example" "${pkgdir}/usr/share/backtunnel/profiles.ini"
|
install -Dm644 "docs/profiles.ini.example" "${pkgdir}/usr/share/backtunnel/profiles.ini"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user