helix: specify installation runtime path explicitly
This commit is contained in:
parent
d10f7e7846
commit
2e9693928d
|
@ -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/
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue