Skip to content

Commit

Permalink
PKGBUILD: Install completions
Browse files Browse the repository at this point in the history
Signed-off-by: Zile995 <[email protected]>
  • Loading branch information
Zile995 committed Jan 4, 2024
1 parent da0a515 commit 8088706
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ package() {
install -Dm0644 "$libalpm_hook" -t "${pkgdir}/usr/share/libalpm/hooks"
done

# Install completions
install -Dm644 "completions/zsh/_${pkgname%-*}" -t "${pkgdir}/usr/share/zsh/site-functions/"
install -Dm644 "completions/bash/${pkgname%-*}" -t "${pkgdir}/usr/share/bash-completion/completions"

# Install the LICENSE
install -Dm0644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
}

0 comments on commit 8088706

Please sign in to comment.