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

19 lines
791 B
Bash

# Template file for 'zsh-syntax-highlighting'
pkgname=zsh-syntax-highlighting
version=0.7.1
revision=3
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() {
make install SHARE_DIR=${DESTDIR}/usr/share/zsh/plugins/${pkgname} DOC_DIR=${DESTDIR}/usr/share/zsh/plugins/${pkgname}/doc
vinstall ${pkgname}.plugin.zsh 644 usr/share/zsh/plugins/${pkgname}
vlicense COPYING.md
}