diff --git a/srcpkgs/ast-grep/template b/srcpkgs/ast-grep/template new file mode 100644 index 00000000000..913db37320f --- /dev/null +++ b/srcpkgs/ast-grep/template @@ -0,0 +1,17 @@ +# Template file for 'ast-grep' +pkgname=ast-grep +version=0.11.1 +revision=1 +build_style=cargo +make_install_args="--bin=ast-grep --path=." +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://static.crates.io/crates/ast-grep/ast-grep-${version}.crate" +checksum=75c2e154b147766217310a7328d04f4c4c7ba5d281b56885fa5be254d1b3d871 + +post_install() { + vlicense LICENSE +}