diff --git a/srcpkgs/vale-style-proselint/template b/srcpkgs/vale-style-proselint/template new file mode 100644 index 0000000000..d2552a537b --- /dev/null +++ b/srcpkgs/vale-style-proselint/template @@ -0,0 +1,18 @@ +# Template file for 'vale-style-proselint' +pkgname=vale-style-proselint +version=0.3.2 +revision=1 +wrksrc=proselint-${version} +short_desc="Vale-compatible implementation of the proselint linter" +maintainer="Paper " +license="MIT" +homepage="https://github.com/errata-ai/proselint/" +distfiles="https://github.com/errata-ai/proselint/archive/v${version}.tar.gz" +checksum=69916df94c0bfcc2520d7f49ae7a002137985f04702a58d8aaa0adc5fa55b8e2 + +do_install() { + for f in proselint/*.yml; do + vinstall "$f" 644 "/usr/share/vale/proselint/" + done + vlicense LICENSE +}