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

21 lines
737 B
Bash

# Template file for 'zsh-syntax-highlighting'
pkgname=zsh-syntax-highlighting
version=0.4.1
revision=1
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=971b9c1e881a8d60442e40003c9e4c98bd1d5243a32fdf386a217c4cd7815197
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
}