Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions cross/helix/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
PKG_NAME = helix
PKG_VERS = 24.07
PKG_EXT = tar.gz
PKG_DIR = helix-$(PKG_VERS)
PKG_DIST_NAME = $(PKG_VERS).$(PKG_EXT)
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_DIST_NAME)
PKG_DIST_SITE = https://github.com/helix-editor/helix/archive

HOMEPAGE = https://helix-editor.com/
COMMENT = A post-modern modal text editor.
LICENSE = MPL-2.0

CARGO_BUILD_ARGS += --locked
CARGO_BUILD_ARGS += --profile opt

ENV += HELIX_DEFAULT_RUNTIME=/var/packages/$(PKG_NAME)/target/runtime

RUST_SRC_DIR = $(WORK_DIR)/$(PKG_DIR)/helix-term

POST_INSTALL_TARGET = helix_post_install

include ../../mk/spksrc.cross-rust.mk

.PHONY: helix_post_install
helix_post_install:
rsync -a \
--exclude ".*" \
--exclude sources \
$(WORK_DIR)/$(PKG_DIR)/runtime $(STAGING_INSTALL_PREFIX)/
5 changes: 5 additions & 0 deletions cross/helix/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bin:bin/hx
lib:runtime/grammars/
rsc:runtime/queries/
rsc:runtime/themes/
rsc:runtime/tutor
3 changes: 3 additions & 0 deletions cross/helix/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
helix-24.07.tar.gz SHA1 20d4af163f8d78d0168964805d468a170ad0b62b
helix-24.07.tar.gz SHA256 0f466ed2de039a7eca6faf29fc0db712c92e1a59d0bdc7e8916c717ceee8b3b3
helix-24.07.tar.gz MD5 9322fe9e584f33630e4cfb0d85083d49
20 changes: 20 additions & 0 deletions spk/helix/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
SPK_NAME = helix
SPK_VERS = 24.07
SPK_REV = 1
SPK_ICON = src/helix.png

DEPENDS = cross/helix

MAINTAINER = SynoCommunity
DESCRIPTION = A post-modern modal text editor.
DISPLAY_NAME = helix
STARTABLE = no
CHANGELOG = "Initial package"

HOMEPAGE = https://helix-editor.com/
LICENSE = MPL-2.0
LICENSE_FILE = $(WORK_DIR)/helix-$(SPK_VERS)/LICENSE

SPK_COMMANDS = bin/hx

include ../../mk/spksrc.spk.mk
Binary file added spk/helix/src/helix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading