summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWu Zhenyu2023-12-03 01:29:27 +0800
committerWu Zhenyu2023-12-03 01:29:27 +0800
commite658080048ad42163017f52714b71d63f236f70c (patch)
tree4f6df6c58404c41423514993b34891f955902db1
downloadaur-e658080048ad42163017f52714b71d63f236f70c.tar.gz
:tada: Initial
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD20
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..f99e7ac3d811
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python-tree-sitter-zathurarc
+ pkgdesc = zathurarc grammar for tree-sitter
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://github.com/Freed-Wu/tree-sitter-zathurarc
+ arch = i686
+ arch = x86_64
+ arch = arm
+ arch = aarch64
+ license = GPL3
+ makedepends = python-installer
+ depends = python
+ source = https://files.pythonhosted.org/packages/cp311/t/tree_sitter_zathurarc/tree_sitter_zathurarc-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl
+ sha256sums = c0b66e1876b0916f3f536d833dce5d57d698d19193947b8519283a9ed3a69b64
+
+pkgname = python-tree-sitter-zathurarc
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..4b62e7679d6f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+/*
+!/.gitignore
+!/PKGBUILD
+!/.SRCINFO
+!/*.install
+!/nvchecker.toml
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..874e72b0a711
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# shellcheck shell=bash disable=SC2034,SC2154
+# Maintainer: Wu Zhenyu <wuzhenyu@ustc.edu>
+# Updated by https://github.com/Freed-Wu/tree-sitter-zathurarc/blob/main/.github/workflows/main.yml
+_pkgname=tree-sitter-zathurarc
+pkgname=python-$_pkgname
+pkgver=0.0.1
+pkgrel=1
+pkgdesc="zathurarc grammar for tree-sitter"
+arch=(i686 x86_64 arm aarch64)
+url=https://github.com/Freed-Wu/$_pkgname
+depends=(python)
+makedepends=(python-installer)
+license=(GPL3)
+_py="cp$(python -c'import sys; print(f"{sys.version_info.major}{sys.version_info.minor}")')"
+source=("https://files.pythonhosted.org/packages/$_py/${_pkgname::1}/${_pkgname//-/_}/${_pkgname//-/_}-$pkgver-$_py-$_py-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl")
+sha256sums=('c0b66e1876b0916f3f536d833dce5d57d698d19193947b8519283a9ed3a69b64')
+
+package() {
+ python -minstaller -d"$pkgdir" ./*.whl
+}