From ba119e2546220305345939d2e20ece28efdde726 Mon Sep 17 00:00:00 2001 From: akhil Date: Sun, 7 Aug 2022 19:10:43 +0530 Subject: [PATCH 1/2] New package: zsh-fast-syntax-highlighting-1.55 --- srcpkgs/zsh-fast-syntax-highlighting/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/zsh-fast-syntax-highlighting/template diff --git a/srcpkgs/zsh-fast-syntax-highlighting/template b/srcpkgs/zsh-fast-syntax-highlighting/template new file mode 100644 index 000000000000..1692e61b9f9c --- /dev/null +++ b/srcpkgs/zsh-fast-syntax-highlighting/template @@ -0,0 +1,19 @@ +# Template file for 'zsh-fast-syntax-highlighting' +pkgname=zsh-fast-syntax-highlighting +version=1.55 +revision=1 +wrksrc="fast-syntax-highlighting-${version}" +depends="zsh" +short_desc="Feature-rich syntax highlighting for ZSH" +maintainer="akhil " +license="BSD-3-Clause" +homepage="https://github.com/zdharma-continuum/fast-syntax-highlighting" +changelog="https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/changelog.md" +distfiles="https://github.com/zdharma-continuum/fast-syntax-highlighting/archive/refs/tags/v${version}.tar.gz" +checksum=d06cea9c047ce46ad09ffd01a8489a849fc65b8b6310bd08f8bcec9d6f81a898 + +do_install() { + vmkdir usr/share/zsh/plugins/${pkgname} + vcopy . usr/share/zsh/plugins/${pkgname} + vlicense LICENSE +} From f8fdc3910fad5d0417a046bdd95fd82dcbe47c9c Mon Sep 17 00:00:00 2001 From: Akhil Jalagam Date: Sun, 7 Aug 2022 19:30:41 +0530 Subject: [PATCH 2/2] Update srcpkgs/zsh-fast-syntax-highlighting/template Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com> --- srcpkgs/zsh-fast-syntax-highlighting/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/zsh-fast-syntax-highlighting/template b/srcpkgs/zsh-fast-syntax-highlighting/template index 1692e61b9f9c..461967b70f79 100644 --- a/srcpkgs/zsh-fast-syntax-highlighting/template +++ b/srcpkgs/zsh-fast-syntax-highlighting/template @@ -2,14 +2,13 @@ pkgname=zsh-fast-syntax-highlighting version=1.55 revision=1 -wrksrc="fast-syntax-highlighting-${version}" +wrksrc="${pkgname#zsh-}-${version}" depends="zsh" short_desc="Feature-rich syntax highlighting for ZSH" maintainer="akhil " license="BSD-3-Clause" -homepage="https://github.com/zdharma-continuum/fast-syntax-highlighting" -changelog="https://raw.githubusercontent.com/zdharma-continuum/fast-syntax-highlighting/master/changelog.md" -distfiles="https://github.com/zdharma-continuum/fast-syntax-highlighting/archive/refs/tags/v${version}.tar.gz" +homepage="https://github.com/zdharma-continuum/${pkgname#zsh-}" +distfiles="https://github.com/zdharma-continuum/${pkgname#zsh-}/archive/refs/tags/v${version}.tar.gz" checksum=d06cea9c047ce46ad09ffd01a8489a849fc65b8b6310bd08f8bcec9d6f81a898 do_install() {