Date: Sunday, August 8, 2021 @ 11:29:58
  Author: orhun
Revision: 994919

archrelease: copy trunk to community-x86_64

Added:
  helix/repos/community-x86_64/PKGBUILD
    (from rev 994918, helix/trunk/PKGBUILD)
  helix/repos/community-x86_64/helix.install
    (from rev 994918, helix/trunk/helix.install)
  helix/repos/community-x86_64/helix.sh
    (from rev 994918, 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      |  165 +++++++++++++++++++++++++++++++++++++++++---------------
 helix.install |    6 +-
 helix.sh      |    6 +-
 3 files changed, 127 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2021-08-08 11:29:45 UTC (rev 994918)
+++ PKGBUILD    2021-08-08 11:29:58 UTC (rev 994919)
@@ -1,44 +0,0 @@
-# Maintainer: Orhun Parmaksız <[email protected]>
-# Contributor: Wojciech Kępka ([email protected])
-
-pkgname=helix
-pkgver=0.3.0
-pkgrel=3
-pkgdesc="A post-modern modal text editor"
-arch=('x86_64')
-url="https://helix-editor.com";
-license=('MPL2')
-depends=('bash')
-makedepends=('rust' 'git')
-install="$pkgname.install"
-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/$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/"
-  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
-}
-
-# vim: ts=2 sw=2 et:

Copied: helix/repos/community-x86_64/PKGBUILD (from rev 994918, 
helix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2021-08-08 11:29:58 UTC (rev 994919)
@@ -0,0 +1,121 @@
+# Maintainer: Orhun Parmaksız <[email protected]>
+# Contributor: Wojciech Kępka ([email protected])
+
+pkgname=helix
+pkgver=0.3.0
+_gitcommit=44566ea812eed023c89ab49b59f62e76ef2bd6c7
+pkgrel=4
+pkgdesc="A post-modern modal text editor"
+arch=('x86_64')
+url="https://helix-editor.com";
+license=('MPL2')
+depends=('bash')
+makedepends=('rust' 'git')
+install="$pkgname.install"
+source=("${pkgname}::git+https://github.com/helix-editor/helix.git#commit=${_gitcommit}";
+  
"${pkgname}-tree-sitter-julia::git+https://github.com/tree-sitter/tree-sitter-julia";
+  
"${pkgname}-tree-sitter-cpp::git+https://github.com/tree-sitter/tree-sitter-cpp";
+  
"${pkgname}-tree-sitter-python::git+https://github.com/tree-sitter/tree-sitter-python";
+  
"${pkgname}-tree-sitter-javascript::git+https://github.com/tree-sitter/tree-sitter-javascript";
+  
"${pkgname}-tree-sitter-html::git+https://github.com/tree-sitter/tree-sitter-html";
+  
"${pkgname}-tree-sitter-php::git+https://github.com/tree-sitter/tree-sitter-php";
+  
"${pkgname}-tree-sitter-bash::git+https://github.com/tree-sitter/tree-sitter-bash";
+  
"${pkgname}-tree-sitter-scala::git+https://github.com/tree-sitter/tree-sitter-scala";
+  
"${pkgname}-tree-sitter-typescript::git+https://github.com/tree-sitter/tree-sitter-typescript";
+  
"${pkgname}-tree-sitter-rust::git+https://github.com/tree-sitter/tree-sitter-rust";
+  
"${pkgname}-tree-sitter-json::git+https://github.com/tree-sitter/tree-sitter-json";
+  
"${pkgname}-tree-sitter-elixir::git+https://github.com/IceDragon200/tree-sitter-elixir";
+  "${pkgname}-tree-sitter-nix::git+https://github.com/cstrahan/tree-sitter-nix";
+  
"${pkgname}-tree-sitter-c-sharp::git+https://github.com/tree-sitter/tree-sitter-c-sharp";
+  
"${pkgname}-tree-sitter-ruby::git+https://github.com/tree-sitter/tree-sitter-ruby";
+  
"${pkgname}-tree-sitter-java::git+https://github.com/tree-sitter/tree-sitter-java";
+  
"${pkgname}-tree-sitter-agda::git+https://github.com/tree-sitter/tree-sitter-agda";
+  
"${pkgname}-tree-sitter-css::git+https://github.com/tree-sitter/tree-sitter-css";
+  
"${pkgname}-tree-sitter-go::git+https://github.com/tree-sitter/tree-sitter-go";
+  
"${pkgname}-tree-sitter-haskell::git+https://github.com/tree-sitter/tree-sitter-haskell";
+  
"${pkgname}-tree-sitter-latex::git+https://github.com/latex-lsp/tree-sitter-latex";
+  
"${pkgname}-tree-sitter-toml::git+https://github.com/ikatyang/tree-sitter-toml";
+  
"${pkgname}-tree-sitter-swift::git+https://github.com/tree-sitter/tree-sitter-swift";
+  "${pkgname}-tree-sitter-c::git+https://github.com/tree-sitter/tree-sitter-c";
+  "$pkgname.sh"
+)
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'f782c93bc0f2c7b27ec62fb2ba36e11b3354c3953405f8d2017b039c9eac500a')
+
+prepare() {
+  cd "$pkgname"
+  git submodule init
+
+  git config submodule."helix-syntax/languages/tree-sitter-cpp".url 
"${srcdir}/${pkgname}"-tree-sitter-cpp
+  git config submodule."helix-syntax/languages/tree-sitter-javascript".url 
"${srcdir}/${pkgname}"-tree-sitter-javascript
+  git config submodule."helix-syntax/languages/tree-sitter-julia".url 
"${srcdir}/${pkgname}"-tree-sitter-julia
+  git config submodule."helix-syntax/languages/tree-sitter-python".url 
"${srcdir}/${pkgname}"-tree-sitter-python
+  git config submodule."helix-syntax/languages/tree-sitter-typescript".url 
"${srcdir}/${pkgname}"-tree-sitter-typescript
+  git config submodule."helix-syntax/languages/tree-sitter-agda".url 
"${srcdir}/${pkgname}"-tree-sitter-agda
+  git config submodule."helix-syntax/languages/tree-sitter-go".url 
"${srcdir}/${pkgname}"-tree-sitter-go
+  git config submodule."helix-syntax/languages/tree-sitter-ruby".url 
"${srcdir}/${pkgname}"-tree-sitter-ruby
+  git config submodule."helix-syntax/languages/tree-sitter-java".url 
"${srcdir}/${pkgname}"-tree-sitter-java
+  git config submodule."helix-syntax/languages/tree-sitter-php".url 
"${srcdir}/${pkgname}"-tree-sitter-php
+  git config submodule."helix-syntax/languages/tree-sitter-html".url 
"${srcdir}/${pkgname}"-tree-sitter-html
+  git config submodule."helix-syntax/languages/tree-sitter-scala".url 
"${srcdir}/${pkgname}"-tree-sitter-scala
+  git config submodule."helix-syntax/languages/tree-sitter-bash".url 
"${srcdir}/${pkgname}"-tree-sitter-bash
+  git config submodule."helix-syntax/languages/tree-sitter-rust".url 
"${srcdir}/${pkgname}"-tree-sitter-rust
+  git config submodule."helix-syntax/languages/tree-sitter-json".url 
"${srcdir}/${pkgname}"-tree-sitter-json
+  git config submodule."helix-syntax/languages/tree-sitter-css".url 
"${srcdir}/${pkgname}"-tree-sitter-css
+  git config submodule."helix-syntax/languages/tree-sitter-c-sharp".url 
"${srcdir}/${pkgname}"-tree-sitter-c-sharp
+  git config submodule."helix-syntax/languages/tree-sitter-c".url 
"${srcdir}/${pkgname}"-tree-sitter-c
+  git config submodule."helix-syntax/languages/tree-sitter-haskell".url 
"${srcdir}/${pkgname}"-tree-sitter-haskell
+  git config submodule."helix-syntax/languages/tree-sitter-swift".url 
"${srcdir}/${pkgname}"-tree-sitter-swift
+  git config submodule."helix-syntax/languages/tree-sitter-toml".url 
"${srcdir}/${pkgname}"-tree-sitter-toml
+  git config submodule."helix-syntax/languages/tree-sitter-elixir".url 
"${srcdir}/${pkgname}"-tree-sitter-elixir
+  git config submodule."helix-syntax/languages/tree-sitter-nix".url 
"${srcdir}/${pkgname}"-tree-sitter-nix
+  git config submodule."helix-syntax/languages/tree-sitter-latex".url 
"${srcdir}/${pkgname}"-tree-sitter-latex
+
+  git submodule update --init --recursive
+  cargo fetch --locked
+}
+
+build() {
+  cd "$pkgname"
+  cargo build --frozen --release
+}
+
+check() {
+  cd "$pkgname"
+  cargo test --frozen --all-features
+}
+
+package() {
+  cd "$pkgname"
+  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/"
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: helix.install
===================================================================
--- helix.install       2021-08-08 11:29:45 UTC (rev 994918)
+++ helix.install       2021-08-08 11:29:58 UTC (rev 994919)
@@ -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 994918, 
helix/trunk/helix.install)
===================================================================
--- helix.install                               (rev 0)
+++ helix.install       2021-08-08 11:29:58 UTC (rev 994919)
@@ -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    2021-08-08 11:29:45 UTC (rev 994918)
+++ helix.sh    2021-08-08 11:29:58 UTC (rev 994919)
@@ -1,3 +0,0 @@
-#!/usr/bin/env sh
-
-HELIX_RUNTIME=/usr/lib/helix/runtime exec /usr/lib/helix/hx "$@"

Copied: helix/repos/community-x86_64/helix.sh (from rev 994918, 
helix/trunk/helix.sh)
===================================================================
--- helix.sh                            (rev 0)
+++ helix.sh    2021-08-08 11:29:58 UTC (rev 994919)
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+HELIX_RUNTIME=/usr/lib/helix/runtime exec /usr/lib/helix/hx "$@"

Reply via email to