vp-build/srcpkgs/zsh-syntax-highlighting/template

21 lines
737 B
Bash

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