# Template file for 'ast-grep'
pkgname=ast-grep
version=0.27.3
revision=1
build_style=cargo
make_check_args="-- --skip=test_unmatching_id skip=test_merge_with_globs"
make_install_args="--bin=ast-grep --path=."
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=e93c52271342a235910539b9b821086599564cacb6aa6651b94806a8a65e5003

post_install() {
	vlicense LICENSE
}
