From 69b316bb92a91e6b48aaa7813bff8c982261c5d9 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 | 23 +++++++++++++++++++++++ 1 file changed, 23 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..d625f97c04bb --- /dev/null +++ b/srcpkgs/fast-syntax-highlighting/template @@ -0,0 +1,23 @@ +# 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} + vcopy →chroma usr/share/zsh/plugins/${pkgname} + vlicense LICENSE +}