From 8ae9bd711ade422b4f48c284af870aa81b18e0ce Mon Sep 17 00:00:00 2001 From: Gadzhi Kharkharov Date: Thu, 26 Aug 2021 19:01:31 +0300 Subject: [PATCH] New package: vale-style-alex 0.1.1 --- srcpkgs/vale-style-alex/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/vale-style-alex/template diff --git a/srcpkgs/vale-style-alex/template b/srcpkgs/vale-style-alex/template new file mode 100644 index 000000000000..187a380007b3 --- /dev/null +++ b/srcpkgs/vale-style-alex/template @@ -0,0 +1,18 @@ +# Template file for 'vale-style-alex' +pkgname=vale-style-alex +version=0.1.1 +revision=1 +wrksrc=alex-${version} +short_desc="Vale-compatible implementation of the alex linter" +maintainer="Gadzhi Kharkharov " +license="MIT" +homepage="https://github.com/errata-ai/alex/" +distfiles="https://github.com/errata-ai/alex/archive/v${version}.tar.gz" +checksum=0e0321e459e54a1ca5596c6f16176fdf6491d3df4fca2eb9cc7aff72cffe8cff + +do_install() { + for f in alex/*.yml; do + vinstall "$f" 644 "/usr/share/vale/alex/" + done + vlicense LICENSE +}