Skip to content

Commit

Permalink
helix: specify installation runtime path explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
tranzystorekk committed Jul 15, 2024
1 parent d10f7e7 commit 2e96939
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions srcpkgs/helix/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand All @@ -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/
}

0 comments on commit 2e96939

Please sign in to comment.