From e567282338b0e82523380690985a746ee32b3639 Mon Sep 17 00:00:00 2001 From: Toby Merz Date: Tue, 15 Jun 2021 11:44:45 +0200 Subject: [PATCH] New package: helix-bin-22.03 --- srcpkgs/helix-bin/files/hx | 2 ++ srcpkgs/helix-bin/template | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100755 srcpkgs/helix-bin/files/hx create mode 100644 srcpkgs/helix-bin/template diff --git a/srcpkgs/helix-bin/files/hx b/srcpkgs/helix-bin/files/hx new file mode 100755 index 000000000000..845ed5293826 --- /dev/null +++ b/srcpkgs/helix-bin/files/hx @@ -0,0 +1,2 @@ +#!/usr/bin/sh +HELIX_RUNTIME=/usr/lib/helix/runtime exec /usr/lib/helix/hx $@ diff --git a/srcpkgs/helix-bin/template b/srcpkgs/helix-bin/template new file mode 100644 index 000000000000..7cfe9043529a --- /dev/null +++ b/srcpkgs/helix-bin/template @@ -0,0 +1,21 @@ +# Template file for 'helix-bin' +pkgname=helix-bin +version=22.03 +revision=1 +archs="x86_64" +wrksrc="helix-${version}-x86_64-linux" +hostmakedepends="git" +short_desc="Kakoune / neovim inspired editor, written in Rust" +maintainer="shizonic " +license="MPL-2.0" +homepage="https://helix-editor.com/" +distfiles="https://github.com/helix-editor/helix/releases/download/${version}/helix-${version}-x86_64-linux.tar.xz" +checksum=844ec88c81e2e4ca6153499a8b371cfbd3602f32492326b91bf2547d515f528f +conflicts="hex>=0" + +do_install() { + vmkdir usr/lib/helix + vcopy runtime usr/lib/helix/ + vcopy hx usr/lib/helix + vbin ${FILESDIR}/hx +}