From 2e9693928def925ec9a86cc5b68109aa97f600f2 Mon Sep 17 00:00:00 2001 From: tranzystorekk Date: Mon, 15 Jul 2024 09:10:47 +0200 Subject: [PATCH] helix: specify installation runtime path explicitly --- srcpkgs/helix/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/helix/template b/srcpkgs/helix/template index f096327efe86c3..7adbe646e0c6b8 100644 --- a/srcpkgs/helix/template +++ b/srcpkgs/helix/template @@ -1,7 +1,7 @@ # Template file for 'helix' pkgname=helix version=24.07 -revision=1 +revision=2 build_style=cargo make_install_args="--path helix-term" short_desc="Post-modern modal text editor" @@ -22,6 +22,8 @@ esac # See https://github.com/helix-editor/helix/pull/7320 export PATH="$PATH:/usr/libexec/chroot-git" +export HELIX_DEFAULT_RUNTIME=/usr/lib/helix/runtime + post_install() { rm runtime/grammars/.gitkeep rm runtime/themes/README.md @@ -37,6 +39,4 @@ post_install() { vmkdir usr/lib/helix vcopy runtime usr/lib/helix - mv ${DESTDIR}/usr/bin/hx ${DESTDIR}/usr/lib/helix/ - ln -s /usr/lib/helix/hx ${DESTDIR}/usr/bin/ }