diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -2,7 +2,7 @@ # https://github.com/orhun/pkgbuilds pkgname=atuin-bin -pkgver=0.7.2 +pkgver=0.8.0 pkgrel=1 pkgdesc="Magical shell history" arch=('x86_64') @@ -12,11 +12,14 @@ depends=('gcc-libs') conflicts=("${pkgname%-bin}") provides=("${pkgname%-bin}") source_x86_64=("$url/releases/download/v$pkgver/${pkgname%-bin}-v$pkgver-x86_64-unknown-linux-gnu.tar.gz") -sha512sums_x86_64=('adea73a92a812c2fd487e9e9697699fbcdce3a90c92585c71e0c0049ce5df55b7f5d138ead8608bde7b44acd39acbdc7ce52a178491f1b79f740debb1eef62d6') +sha512sums_x86_64=('5742355140ebe956ff8c185bee8cd37ee807bd0f71fce889652255f6f5f2702552e64081adf3ee0e565d88dc1ec7fb4dbd2cbd2218e3a37c955b7a1b5fdba9a7') package() { cd "${pkgname%-bin}-v$pkgver-x86_64-unknown-linux-gnu" install -Dm 755 "${pkgname%-bin}" -t "${pkgdir}/usr/bin" install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname" install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" + install -Dm 644 "completions/${pkgname%-bin}.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname%-bin}" + install -Dm 644 "completions/${pkgname%-bin}.fish" -t "${pkgdir}/usr/share/fish/vendor_completions.d" + install -Dm 644 "completions/_${pkgname%-bin}" -t "${pkgdir}/usr/share/zsh/site-functions" } |