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

19 lines
791 B
Bash

# Template file for 'zsh-syntax-highlighting'
pkgname=zsh-syntax-highlighting
version=0.8.0
revision=1
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=5981c19ebaab027e356fe1ee5284f7a021b89d4405cc53dc84b476c3aee9cc32
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
}