From f6cb76453b7d8ecb7eccd3288f499f23a3f9e096 Mon Sep 17 00:00:00 2001 From: Paper Date: Wed, 16 Dec 2020 18:34:12 +0100 Subject: [PATCH] New package: vale-style-proselint-0.3.2 --- srcpkgs/vale-style-proselint/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/vale-style-proselint/template diff --git a/srcpkgs/vale-style-proselint/template b/srcpkgs/vale-style-proselint/template new file mode 100644 index 00000000000..d2552a537bf --- /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 +}