[arch-commits] Commit in helix/trunk (PKGBUILD helix.install)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Sun Aug 8 11:02:51 UTC 2021
Date: Sunday, August 8, 2021 @ 11:02:50
Author: orhun
Revision: 994916
upgpkg: helix 0.3.0-3: rename binary to 'helix'
Added:
helix/trunk/helix.install
Modified:
helix/trunk/PKGBUILD
---------------+
PKGBUILD | 6 +++---
helix.install | 3 +++
2 files changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-08 10:39:07 UTC (rev 994915)
+++ PKGBUILD 2021-08-08 11:02:50 UTC (rev 994916)
@@ -3,7 +3,7 @@
pkgname=helix
pkgver=0.3.0
-pkgrel=2
+pkgrel=3
pkgdesc="A post-modern modal text editor"
arch=('x86_64')
url="https://helix-editor.com"
@@ -10,7 +10,7 @@
license=('MPL2')
depends=('bash')
makedepends=('rust' 'git')
-conflicts=("hex")
+install="$pkgname.install"
source=("git+https://github.com/helix-editor/helix.git#tag=v$pkgver"
"$pkgname.sh")
sha256sums=('SKIP'
@@ -34,7 +34,7 @@
package() {
cd "$pkgname"
- install -Dm 755 "../$pkgname.sh" "$pkgdir/usr/bin/hx"
+ install -Dm 755 "../$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
install -Dm 755 "target/release/hx" "$pkgdir/usr/lib/$pkgname/hx"
mkdir -p "$pkgdir/usr/lib/helix/"
cp -r "runtime" "$pkgdir/usr/lib/helix/"
Added: helix.install
===================================================================
--- helix.install (rev 0)
+++ helix.install 2021-08-08 11:02:50 UTC (rev 994916)
@@ -0,0 +1,3 @@
+post_upgrade() {
+ echo "The launcher binary is renamed as 'helix', alias hx='helix' if you were using 'hx'"
+}
More information about the arch-commits
mailing list