helix: switch from launcher script to symlink
This commit is contained in:
parent
593b4606d7
commit
b4bd03c1ac
2 changed files with 3 additions and 5 deletions
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
HELIX_RUNTIME=/usr/lib/helix/runtime exec /usr/lib/helix/hx "$@"
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'helix'
|
# Template file for 'helix'
|
||||||
pkgname=helix
|
pkgname=helix
|
||||||
version=23.05
|
version=23.05
|
||||||
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"
|
||||||
|
@ -30,7 +30,7 @@ post_install() {
|
||||||
vinstall contrib/helix.png 644 usr/share/icons/hicolor/128x128/apps
|
vinstall contrib/helix.png 644 usr/share/icons/hicolor/128x128/apps
|
||||||
|
|
||||||
vmkdir usr/lib/helix
|
vmkdir usr/lib/helix
|
||||||
mv ${DESTDIR}/usr/bin/hx ${DESTDIR}/usr/lib/helix/
|
|
||||||
vcopy runtime usr/lib/helix
|
vcopy runtime usr/lib/helix
|
||||||
vbin ${FILESDIR}/hx
|
mv ${DESTDIR}/usr/bin/hx ${DESTDIR}/usr/lib/helix/
|
||||||
|
ln -s /usr/lib/helix/hx ${DESTDIR}/usr/bin/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue