Date: Thursday, July 29, 2021 @ 18:43:02
  Author: orhun
Revision: 990535

archrelease: copy trunk to community-x86_64

Added:
  helix/repos/community-x86_64/
  helix/repos/community-x86_64/PKGBUILD
    (from rev 990534, helix/trunk/PKGBUILD)
  helix/repos/community-x86_64/helix.sh
    (from rev 990534, helix/trunk/helix.sh)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 helix.sh |    3 +++
 2 files changed, 47 insertions(+)

Copied: helix/repos/community-x86_64/PKGBUILD (from rev 990534, 
helix/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2021-07-29 18:43:02 UTC (rev 990535)
@@ -0,0 +1,44 @@
+# Maintainer: Orhun Parmaksız <[email protected]>
+# Contributor: Wojciech Kępka ([email protected])
+
+pkgname=helix
+pkgver=0.3.0
+pkgrel=2
+pkgdesc="A post-modern modal text editor"
+arch=('x86_64')
+url="https://helix-editor.com";
+license=('MPL2')
+depends=('bash')
+makedepends=('rust' 'git')
+conflicts=("hex")
+source=("git+https://github.com/helix-editor/helix.git#tag=v$pkgver";
+        "$pkgname.sh")
+sha256sums=('SKIP'
+            'f782c93bc0f2c7b27ec62fb2ba36e11b3354c3953405f8d2017b039c9eac500a')
+
+prepare() {
+  cd "$pkgname"
+  git submodule init
+  git submodule update --recursive
+}
+
+build() {
+  cd "$pkgname"
+  cargo build --release --locked
+}
+
+check() {
+  cd "$pkgname"
+  cargo test --release --locked --all-features
+}
+
+package() {
+  cd "$pkgname"
+  install -Dm 755 "../$pkgname.sh" "$pkgdir/usr/bin/hx"
+  install -Dm 755 "target/release/hx" "$pkgdir/usr/lib/$pkgname/hx"
+  mkdir -p "$pkgdir/usr/lib/helix/"
+  cp -r "runtime" "$pkgdir/usr/lib/helix/"
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+}
+
+# vim: ts=2 sw=2 et:

Copied: helix/repos/community-x86_64/helix.sh (from rev 990534, 
helix/trunk/helix.sh)
===================================================================
--- community-x86_64/helix.sh                           (rev 0)
+++ community-x86_64/helix.sh   2021-07-29 18:43:02 UTC (rev 990535)
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+HELIX_RUNTIME=/usr/lib/helix/runtime exec /usr/lib/helix/hx "$@"

Reply via email to