From 7b148ce4572702f3926c9da94040bf67fe22b7e1 Mon Sep 17 00:00:00 2001 From: Vapourium Date: Tue, 14 Sep 2021 16:51:47 -0400 Subject: [PATCH] New package: fast-syntax-highlighting-1.55 --- srcpkgs/fast-syntax-highlighting/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/fast-syntax-highlighting/template diff --git a/srcpkgs/fast-syntax-highlighting/template b/srcpkgs/fast-syntax-highlighting/template new file mode 100644 index 000000000000..479ee8446492 --- /dev/null +++ b/srcpkgs/fast-syntax-highlighting/template @@ -0,0 +1,22 @@ +# Template file for 'fast-syntax-highlighting' +pkgname=fast-syntax-highlighting +version=1.55 +revision=1 +depends="zsh" +short_desc="Feature rich syntax highlighting for Zsh" +maintainer="Vapourium " +license="BSD-3-Clause" +homepage="https://github.com/zdharma/fast-syntax-highlighting" +changelog="https://github.com/zdharma/fast-syntax-highlighting/blob/master/CHANGELOG.md" +distfiles="${homepage}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=d06cea9c047ce46ad09ffd01a8489a849fc65b8b6310bd08f8bcec9d6f81a898 + +do_install() { + vcompletion _fast-theme zsh + vinstall fast-highlight 644 usr/share/zsh/plugins/${pkgname} + vinstall fast-string-highlight 644 usr/share/zsh/plugins/${pkgname} + vinstall fast-theme 644 usr/share/zsh/plugins/${pkgname} + vinstall ${pkgname}.plugin.zsh 644 usr/share/zsh/plugins/${pkgname} + vcopy themes usr/share/zsh/plugins/${pkgname} + vlicense LICENSE +}