From 8088706b5a8f1607489e252b58dd4c94679d8781 Mon Sep 17 00:00:00 2001 From: Zile995 Date: Fri, 5 Jan 2024 00:12:08 +0100 Subject: [PATCH] PKGBUILD: Install completions Signed-off-by: Zile995 --- PKGBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 464cd00..5de5b87 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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}" -} +} \ No newline at end of file