From 1ce18db5497dbe754ffe16451a0976bcf8d25bcd Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Tue, 30 May 2023 14:38:43 +0200 Subject: [PATCH] helix: switch from launcher script to symlink --- srcpkgs/helix/files/hx | 2 -- srcpkgs/helix/template | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 srcpkgs/helix/files/hx diff --git a/srcpkgs/helix/files/hx b/srcpkgs/helix/files/hx deleted file mode 100644 index a43e49fadc5b..000000000000 --- a/srcpkgs/helix/files/hx +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -HELIX_RUNTIME=/usr/lib/helix/runtime exec /usr/lib/helix/hx "$@" diff --git a/srcpkgs/helix/template b/srcpkgs/helix/template index f920843b9ce4..ee11896d0803 100644 --- a/srcpkgs/helix/template +++ b/srcpkgs/helix/template @@ -1,7 +1,7 @@ # Template file for 'helix' pkgname=helix version=23.05 -revision=1 +revision=2 build_style=cargo make_install_args="--path helix-term" short_desc="Post-modern modal text editor" @@ -30,7 +30,7 @@ post_install() { vinstall contrib/helix.png 644 usr/share/icons/hicolor/128x128/apps vmkdir usr/lib/helix - mv ${DESTDIR}/usr/bin/hx ${DESTDIR}/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/ }