void-packages/srcpkgs/zsh-completions/template

22 lines
603 B
Bash

# Template file for 'zsh-completions'
pkgname=zsh-completions
version=0.33.0
revision=1
depends="zsh"
short_desc="Additional completions for Zsh"
maintainer="Alexander Gehrke <void@qwertyuiop.de>"
license="BSD-3-Clause, Apache-2.0, MIT"
homepage="https://github.com/zsh-users/zsh-completions"
distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=39452d383d0718aa2c830edba1aa32f0ee1e40002ef6932d88699a888bd58c29
post_patch() {
rm -f src/_composer
}
do_install() {
vmkdir usr/share/zsh/site-functions/
vcopy src/_* usr/share/zsh/site-functions/
vlicense LICENSE
}