[arch-commits] Commit in tree-sitter/repos/community-x86_64 (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Mon Nov 22 22:58:48 UTC 2021


    Date: Monday, November 22, 2021 @ 22:58:48
  Author: polyzen
Revision: 1054397

archrelease: copy trunk to community-x86_64

Added:
  tree-sitter/repos/community-x86_64/PKGBUILD
    (from rev 1054396, tree-sitter/trunk/PKGBUILD)
Deleted:
  tree-sitter/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 42 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-22 22:58:28 UTC (rev 1054396)
+++ PKGBUILD	2021-11-22 22:58:48 UTC (rev 1054397)
@@ -1,36 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=tree-sitter
-pkgver=0.20.0
-pkgrel=1
-pkgdesc='An incremental parsing system for programming tools'
-arch=('x86_64')
-url='https://github.com/tree-sitter/tree-sitter'
-license=('MIT')
-provides=('libtree-sitter.so')
-depends=('gcc-libs')
-makedepends=('git' 'rust')
-source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('a51fa0af45a6a99bb74ff53c15a4d7939eb24c6720e65ec7a96f74ffbce54801f14539e071ec6a4891dae778d7dea5edcecc6dd57716cc70a891c9e6cfa55013')
-
-build() {
-  cd $pkgname-$pkgver
-
-  make
-
-  cd cli
-
-  cargo build --release --locked --all-features
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make DESTDIR="$pkgdir" PREFIX=/usr install
-
-  install -Dm 755 target/release/$pkgname -t "$pkgdir"/usr/bin
-
-  install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}
-

Copied: tree-sitter/repos/community-x86_64/PKGBUILD (from rev 1054396, tree-sitter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-22 22:58:48 UTC (rev 1054397)
@@ -0,0 +1,42 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=tree-sitter
+pkgver=0.20.1
+pkgrel=1
+pkgdesc='An incremental parsing system for programming tools'
+arch=('x86_64')
+url='https://github.com/tree-sitter/tree-sitter'
+license=('MIT')
+provides=('libtree-sitter.so')
+depends=('gcc-libs')
+makedepends=('git' 'rust')
+source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('172e9b2fba5d4610f663934dff1cf4580d09631a3d8d5d7249b6a80288aa9fdda9f5eac50a501935a87414563b46f843c3d98a1f7e45302a5c61dd3c08159606')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  cargo fetch --locked
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  make
+
+  cd cli
+
+  cargo build --release --locked --offline --all-features
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" PREFIX=/usr install
+
+  install -Dm 755 target/release/$pkgname -t "$pkgdir"/usr/bin
+
+  install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}
+



More information about the arch-commits mailing list