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

21 lines
737 B
Bash

# Template file for 'zsh-syntax-highlighting'
pkgname=zsh-syntax-highlighting
version=0.5.0
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=e2a7f140e838578ddb2769d99a32f0bbbd2c990585c61b203cf1f676b09608be
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
}