diff --git a/backtunnel/PKGBUILD b/backtunnel/PKGBUILD index 4d91865..7ca68bf 100644 --- a/backtunnel/PKGBUILD +++ b/backtunnel/PKGBUILD @@ -12,7 +12,7 @@ license=('GPL3') depends=('bash' 'openssh' 'sshfs' 'kdialog' 'konsole' 'coreutils') optdepends=( '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' ) makedepends=('git') @@ -46,6 +46,7 @@ package() { 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-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 if [[ -f "scripts/backtunnel-init" ]]; then @@ -70,10 +71,12 @@ EOF # Man page 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 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-share-tui" + install -Dm644 "completions/backtunnel.bash" "${pkgdir}/usr/share/bash-completion/completions/backtunnel-access-tui" fi # Dolphin service menus (Plasma 6 path) @@ -91,4 +94,4 @@ EOF # Profiles: system default + packaged example/fallback install -Dm644 "docs/profiles.ini.example" "${pkgdir}/etc/backtunnel/profiles.ini" install -Dm644 "docs/profiles.ini.example" "${pkgdir}/usr/share/backtunnel/profiles.ini" -} +} \ No newline at end of file