void-packages/srcpkgs/zsh-syntax-highlighting/template

21 lines
831 B
Bash

# Template file for 'zsh-syntax-highlighting'
pkgname=zsh-syntax-highlighting
version=0.7.1
revision=2
depends="zsh"
short_desc="Fish shell like syntax highlighting for Zsh"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/zsh-users/zsh-syntax-highlighting"
changelog="https://raw.githubusercontent.com/zsh-users/zsh-syntax-highlighting/master/changelog.md"
distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=f5044266ee198468b1bcec881a56e6399e209657d6ed9fa6d21175bc76afdefa
do_install() {
vinstall ${pkgname}.zsh 644 usr/share/zsh/plugins/${pkgname}
vinstall .version 644 usr/share/zsh/plugins/${pkgname}
vinstall .revision-hash 644 usr/share/zsh/plugins/${pkgname}
vcopy highlighters usr/share/zsh/plugins/${pkgname}
vlicense COPYING.md
}