void-packages/srcpkgs/ast-grep/template

19 lines
653 B
Bash

# Template file for 'ast-grep'
pkgname=ast-grep
version=0.29.0
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=6e6d56b42a4eabf479104d7eee73aeee2743c3e9e1debd860e73127b6fcad09f
do_install() {
vbin target/${RUST_TARGET}/release/ast-grep
vlicense LICENSE
}