Date: Saturday, May 28, 2022 @ 16:10:13 Author: orhun Revision: 1212084
upgpkg: helix 22.05-1: upstream release Modified: helix/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-05-28 16:10:01 UTC (rev 1212083) +++ PKGBUILD 2022-05-28 16:10:13 UTC (rev 1212084) @@ -2,7 +2,7 @@ # Contributor: Wojciech Kępka ([email protected]) pkgname=helix -pkgver=22.03 +pkgver=22.05 pkgrel=1 pkgdesc="A post-modern modal text editor" arch=('x86_64') @@ -13,7 +13,7 @@ install="$pkgname.install" source=("$pkgname-$pkgver.tar.gz::https://github.com/helix-editor/helix/archive/$pkgver.tar.gz" "$pkgname.sh") -sha256sums=('a21f4d7b6390930a89b59567909ad7c613a1eeeafc813167ff7bc3be603997f4' +sha256sums=('722237abb209d6a3683877dff039b198fffe0d37cc607f4fc8c05febcfd7e24e' '90d14e5c8fb65e64b508fcf4358cb45191b39e24bd6c5981814139a2a627fa5c') options=('!lto') @@ -20,6 +20,8 @@ prepare() { cd "$pkgname-$pkgver" cargo fetch --locked --target "$CARCH-unknown-linux-gnu" + # https://github.com/helix-editor/helix/pull/1883 + echo "$pkgver" > VERSION } build() { @@ -46,6 +48,10 @@ install -Dm 755 {} -t "$runtime_dir/grammars" \; install -Dm 644 runtime/tutor.txt -t "$runtime_dir" ln -s "/var/lib/$pkgname/runtime" "$pkgdir/usr/lib/$pkgname/runtime" + + install -Dm 644 "contrib/completion/hx.bash" "$pkgdir/usr/share/bash-completion/completions/$pkgname" + install -Dm 644 "contrib/completion/hx.fish" "$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish" + install -Dm 644 "contrib/completion/hx.zsh" "$pkgdir/usr/share/zsh/site-functions/_$pkgname" } # vim: ts=2 sw=2 et:
