[arch-commits] Commit in helix/repos/community-x86_64 (6 files)

Orhun Parmaksiz orhun at gemini.archlinux.org
Sat May 28 17:26:08 UTC 2022


    Date: Saturday, May 28, 2022 @ 17:26:07
  Author: orhun
Revision: 1212551

archrelease: copy trunk to community-x86_64

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

---------------+
 PKGBUILD      |  112 +++++++++++++++++++++++++++-----------------------------
 helix.install |    6 +--
 helix.sh      |    6 +--
 3 files changed, 61 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-28 17:25:57 UTC (rev 1212550)
+++ PKGBUILD	2022-05-28 17:26:07 UTC (rev 1212551)
@@ -1,57 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Contributor: Wojciech Kępka (wojciech at wkepka.dev)
-
-pkgname=helix
-pkgver=22.05
-pkgrel=1
-pkgdesc="A post-modern modal text editor"
-arch=('x86_64')
-url="https://helix-editor.com"
-license=('MPL2')
-depends=('bash')
-makedepends=('cargo' 'git')
-install="$pkgname.install"
-source=("$pkgname-$pkgver.tar.gz::https://github.com/helix-editor/helix/archive/$pkgver.tar.gz"
-        "$pkgname.sh")
-sha256sums=('722237abb209d6a3683877dff039b198fffe0d37cc607f4fc8c05febcfd7e24e'
-            '90d14e5c8fb65e64b508fcf4358cb45191b39e24bd6c5981814139a2a627fa5c')
-options=('!lto')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-  # https://github.com/helix-editor/helix/pull/1883
-  echo "$pkgver" > VERSION
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  cargo build --frozen --release
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  cargo test --frozen --all-features
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  install -Dm 755 "../$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
-  install -Dm 755 "target/release/hx" "$pkgdir/usr/lib/$pkgname/hx"
-  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
-
-  local runtime_dir="$pkgdir/var/lib/$pkgname/runtime"
-  mkdir -p "$runtime_dir/grammars"
-  cp -r "runtime/queries" "$runtime_dir"
-  cp -r "runtime/themes" "$runtime_dir"
-  find "runtime/grammars" -type f -name '*.so' -exec \
-    install -Dm 755 {} -t "$runtime_dir/grammars" \;
-  install -Dm 644 runtime/tutor.txt -t "$runtime_dir"
-  ln -s "/var/lib/$pkgname/runtime" "$pkgdir/usr/lib/$pkgname/runtime"
-
-  install -Dm 644 "contrib/completion/hx.bash" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
-  install -Dm 644 "contrib/completion/hx.fish" "$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish"
-  install -Dm 644 "contrib/completion/hx.zsh" "$pkgdir/usr/share/zsh/site-functions/_$pkgname"
-}
-
-# vim: ts=2 sw=2 et:

Copied: helix/repos/community-x86_64/PKGBUILD (from rev 1212550, helix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-28 17:26:07 UTC (rev 1212551)
@@ -0,0 +1,55 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Contributor: Wojciech Kępka (wojciech at wkepka.dev)
+
+pkgname=helix
+pkgver=22.05
+pkgrel=2
+pkgdesc="A post-modern modal text editor"
+arch=('x86_64')
+url="https://helix-editor.com"
+license=('MPL2')
+depends=('bash')
+makedepends=('cargo' 'git')
+install="$pkgname.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/helix-editor/helix/archive/$pkgver.tar.gz"
+        "$pkgname.sh")
+sha256sums=('96603cf5504bbd7ebeee1867d65356cccaa2877f697da50c0ad3789a3eb287e4'
+            '90d14e5c8fb65e64b508fcf4358cb45191b39e24bd6c5981814139a2a627fa5c')
+options=('!lto')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --frozen --release
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  cargo test --frozen --all-features
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm 755 "../$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+  install -Dm 755 "target/release/hx" "$pkgdir/usr/lib/$pkgname/hx"
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+
+  local runtime_dir="$pkgdir/var/lib/$pkgname/runtime"
+  mkdir -p "$runtime_dir/grammars"
+  cp -r "runtime/queries" "$runtime_dir"
+  cp -r "runtime/themes" "$runtime_dir"
+  find "runtime/grammars" -type f -name '*.so' -exec \
+    install -Dm 755 {} -t "$runtime_dir/grammars" \;
+  install -Dm 644 runtime/tutor.txt -t "$runtime_dir"
+  ln -s "/var/lib/$pkgname/runtime" "$pkgdir/usr/lib/$pkgname/runtime"
+
+  install -Dm 644 "contrib/completion/hx.bash" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
+  install -Dm 644 "contrib/completion/hx.fish" "$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish"
+  install -Dm 644 "contrib/completion/hx.zsh" "$pkgdir/usr/share/zsh/site-functions/_$pkgname"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: helix.install
===================================================================
--- helix.install	2022-05-28 17:25:57 UTC (rev 1212550)
+++ helix.install	2022-05-28 17:26:07 UTC (rev 1212551)
@@ -1,3 +0,0 @@
-post_upgrade() {
-    echo "The launcher binary is renamed as 'helix', alias hx='helix' if you were using 'hx'"
-}

Copied: helix/repos/community-x86_64/helix.install (from rev 1212550, helix/trunk/helix.install)
===================================================================
--- helix.install	                        (rev 0)
+++ helix.install	2022-05-28 17:26:07 UTC (rev 1212551)
@@ -0,0 +1,3 @@
+post_upgrade() {
+    echo "The launcher binary is renamed as 'helix', alias hx='helix' if you were using 'hx'"
+}

Deleted: helix.sh
===================================================================
--- helix.sh	2022-05-28 17:25:57 UTC (rev 1212550)
+++ helix.sh	2022-05-28 17:26:07 UTC (rev 1212551)
@@ -1,3 +0,0 @@
-#!/usr/bin/env sh
-
-HELIX_RUNTIME=/var/lib/helix/runtime exec /usr/lib/helix/hx "$@"

Copied: helix/repos/community-x86_64/helix.sh (from rev 1212550, helix/trunk/helix.sh)
===================================================================
--- helix.sh	                        (rev 0)
+++ helix.sh	2022-05-28 17:26:07 UTC (rev 1212551)
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+HELIX_RUNTIME=/var/lib/helix/runtime exec /usr/lib/helix/hx "$@"



More information about the arch-commits mailing list