vp-build/srcpkgs/zsh-completions/template

23 lines
654 B
Bash

# Template file for 'zsh-completions'
pkgname=zsh-completions
version=0.33.0
revision=2
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/
rm src/_cheat # cheat package includes better one
vcopy src/_* usr/share/zsh/site-functions/
vlicense LICENSE
}