From ea576f2084c00bfb20145987b958e491ad8e4618 Mon Sep 17 00:00:00 2001 From: icp Date: Wed, 24 May 2023 19:32:59 +0530 Subject: [PATCH] New package: ast-grep-0.5.5 --- srcpkgs/ast-grep/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/ast-grep/template diff --git a/srcpkgs/ast-grep/template b/srcpkgs/ast-grep/template new file mode 100644 index 000000000000..f45b5e55f9c3 --- /dev/null +++ b/srcpkgs/ast-grep/template @@ -0,0 +1,18 @@ +# Template file for 'ast-grep' +pkgname=ast-grep +version=0.5.5 +revision=1 +build_wrksrc="crates/cli" +build_style=cargo +short_desc="Fast and polyglot tool for code searching, linting, and rewriting" +maintainer="icp " +license="MIT" +homepage="https://ast-grep.github.io" +changelog="https://raw.githubusercontent.com/ast-grep/ast-grep/main/CHANGELOG.md" +distfiles="https://github.com/ast-grep/ast-grep/archive/refs/tags/${version}.tar.gz" +checksum=39b581327301df7ac0d27daf81dcc299b90bfa061ae117662426d2f3f9f56145 + +post_install() { + vlicense ../../LICENSE + rm ${DESTDIR}/usr/bin/sg +}