Skip to content

Commit 298fd63

Browse files
authored
fix(helix): also make a symlink to the actual package name (#6821)
This somewhat aligns the behavior with other packaging of Helix, such as Snap and Archlinux. Co-authored-by: Bahar KURT <kurtbahartr@users.noreply.github.com>
1 parent 7bf6e4d commit 298fd63

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

packages/helix/.SRCINFO

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
pkgbase = helix
22
pkgver = 24.07
3+
pkgrel = 2
34
pkgdesc = A post-modern modal text editor
45
arch = any
56
makedepends = cargo

packages/helix/helix.pacscript

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
pkgname="helix"
22
arch=("any")
33
pkgver="24.07"
4+
pkgrel="2"
45
repology=("project: helix")
56
source=("@${pkgname}~${pkgver}::https://github.com/helix-editor/helix/releases/download/${pkgver}/helix-${pkgver}-source.tar.xz")
67
makedepends=("cargo")
@@ -19,6 +20,7 @@ package() {
1920

2021
printf '#!/bin/sh\nHELIX_RUNTIME=/usr/lib/helix/runtime exec /usr/lib/helix/hx "$@"\n' > hx
2122
install -Dm755 hx -t "${pkgdir}/usr/bin"
23+
ln -sf /usr/bin/hx "${pkgdir}/usr/bin/helix"
2224

2325
rm -f runtime/grammars/.gitkeep
2426
rm -f runtime/themes/README.md

srclist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4362,6 +4362,7 @@ pkgname = headset-deb
43624362
---
43634363
pkgbase = helix
43644364
pkgver = 24.07
4365+
pkgrel = 2
43654366
pkgdesc = A post-modern modal text editor
43664367
arch = any
43674368
makedepends = cargo

0 commit comments

Comments
 (0)