Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / 
tree-sitter-cli


Commits:
940d7a1f by Daniel M. Capella at 2024-01-27T16:25:27-05:00
upgpkg: 0.20.9-1

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,16 @@
+pkgbase = tree-sitter-cli
+       pkgdesc = CLI tool for developing, testing, and using Tree-sitter 
parsers
+       pkgver = 0.20.9
+       pkgrel = 1
+       url = https://github.com/tree-sitter/tree-sitter
+       arch = x86_64
+       license = MIT
+       makedepends = git
+       makedepends = rust
+       depends = gcc-libs
+       optdepends = nodejs: for the generate subcommand
+       options = !lto
+       source = git+https://github.com/tree-sitter/tree-sitter.git#tag=v0.20.9
+       b2sums = SKIP
+
+pkgname = tree-sitter-cli


=====================================
PKGBUILD
=====================================
@@ -1,8 +1,8 @@
 # Maintainer: Daniel M. Capella <poly...@archlinux.org>
 
 pkgname=tree-sitter-cli
-pkgver=0.20.8
-pkgrel=4
+pkgver=0.20.9
+pkgrel=1
 pkgdesc='CLI tool for developing, testing, and using Tree-sitter parsers'
 arch=('x86_64')
 url=https://github.com/tree-sitter/tree-sitter
@@ -16,7 +16,7 @@ b2sums=('SKIP')
 
 prepare() {
   cd ${pkgname%-cli}/cli
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+  cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/tree-sitter-cli/-/commit/940d7a1fca9205b126a8d8238652d366b4eed198

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/tree-sitter-cli/-/commit/940d7a1fca9205b126a8d8238652d366b4eed198
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to