# Template file for 'ast-grep'
pkgname=ast-grep
version=0.36.1
revision=1
build_style=cargo
make_check_args="-- --skip=test_unmatching_id --skip=test_merge_with_globs"
short_desc="Fast and polyglot tool for code searching, linting, and rewriting"
maintainer="icp <pangolin@vivaldi.net>"
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=a7209f4e35afb21b9e3c65272729525745880d67b4c5fca5f52541d6aa128c21

do_install() {
	vbin target/${RUST_TARGET}/release/ast-grep
	vlicense LICENSE
}
