diff --git PKGBUILD PKGBUILD index 72bcfdf..1bdf873 100644 --- PKGBUILD +++ PKGBUILD @@ -41,6 +41,9 @@ package() { install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm755 "cmd/trivy/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + "$pkgdir/usr/bin/${pkgname}" completion --shell bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/${pkgname}" + "$pkgdir/usr/bin/${pkgname}" completion --shell zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_${pkgname}" + "$pkgdir/usr/bin/${pkgname}" completion --shell fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/${pkgname}.fish" mkdir -p "${pkgdir}/usr/share/doc" cp -r docs "${pkgdir}/usr/share/doc/${pkgname}"