chore: sync AUR packages (shared)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
pkgbase = github-copilot-cli
|
||||
pkgdesc = GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal.
|
||||
pkgver = 1.0.37
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://github.com/github/copilot-cli
|
||||
arch = x86_64
|
||||
license = LicenseRef-GitHub-Copilot
|
||||
|
||||
@@ -7,7 +7,7 @@ pkgname=github-copilot-cli
|
||||
_pkgexec=copilot
|
||||
|
||||
pkgver=1.0.37
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
|
||||
pkgdesc="GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal."
|
||||
|
||||
@@ -63,6 +63,18 @@ package() {
|
||||
chmod 644 "${pkgjson}"
|
||||
done
|
||||
|
||||
msg2 "Generating autocompletions for Bash"
|
||||
"${pkgdir}/usr/bin/copilot" completion bash > copilot
|
||||
install -Dm644 copilot "${pkgdir}/usr/share/bash-completion/completions/copilot"
|
||||
|
||||
msg2 "Generating autocompletions for Zsh"
|
||||
"${pkgdir}/usr/bin/copilot" completion zsh > _copilot
|
||||
install -Dm644 _copilot "${pkgdir}/usr/share/zsh/site-functions/_copilot"
|
||||
|
||||
msg2 "Generating autocompletions Fish"
|
||||
"${pkgdir}/usr/bin/copilot" completion fish > copilot.fish
|
||||
install -Dm644 copilot.fish "${pkgdir}/usr/share/fish/completions/copilot.fish"
|
||||
|
||||
msg2 "Install README file"
|
||||
install -dm755 "${pkgdir}/usr/share/doc/${pkgname}/"
|
||||
ln -sf "/usr/lib/node_modules/${_npmmodule}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
||||
|
||||
Reference in New Issue
Block a user