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

21 lines
737 B
Bash

# Template file for 'zsh-syntax-highlighting'
pkgname=zsh-syntax-highlighting
version=0.3.0
revision=2
noarch=yes
depends="zsh"
short_desc="Fish shell like syntax highlighting for Zsh"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="BSD"
homepage="https://github.com/zsh-users/zsh-syntax-highlighting"
distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=e2b79e095eb90c539da5ff41892f0c6e8934f1c0bf93b090313172e1be441b26
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
}