mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
helix: specify installation runtime path explicitly
This commit is contained in:
parent
d10f7e7846
commit
2e9693928d
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'helix'
|
# Template file for 'helix'
|
||||||
pkgname=helix
|
pkgname=helix
|
||||||
version=24.07
|
version=24.07
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
make_install_args="--path helix-term"
|
make_install_args="--path helix-term"
|
||||||
short_desc="Post-modern modal text editor"
|
short_desc="Post-modern modal text editor"
|
||||||
|
@ -22,6 +22,8 @@ esac
|
||||||
# See https://github.com/helix-editor/helix/pull/7320
|
# See https://github.com/helix-editor/helix/pull/7320
|
||||||
export PATH="$PATH:/usr/libexec/chroot-git"
|
export PATH="$PATH:/usr/libexec/chroot-git"
|
||||||
|
|
||||||
|
export HELIX_DEFAULT_RUNTIME=/usr/lib/helix/runtime
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm runtime/grammars/.gitkeep
|
rm runtime/grammars/.gitkeep
|
||||||
rm runtime/themes/README.md
|
rm runtime/themes/README.md
|
||||||
|
@ -37,6 +39,4 @@ post_install() {
|
||||||
|
|
||||||
vmkdir usr/lib/helix
|
vmkdir usr/lib/helix
|
||||||
vcopy runtime 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…
Add table
Reference in a new issue