crystal: fix completion files installation

This commit is contained in:
Gangsta Cat 2020-02-26 17:49:36 +01:00 committed by Helmut Pozimski
parent b4bb1c3b50
commit 220871527a
1 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'crystal'
pkgname=crystal
version=0.33.0
revision=2
revision=3
archs="x86_64* i686* aarch64* arm*"
_shardsversion=0.9.0
_bootstrapversion=0.33.0
@ -87,12 +87,11 @@ do_install() {
vmkdir /usr/lib/crystal
vmkdir /usr/share/doc/crystal
vmkdir /usr/share/doc/crystal/api
vmkdir /usr/share/bash-completion/completions/crystal
vmkdir /usr/share/zsh/site-functions/_crystal
vmkdir /usr/share/licenses/shards
vcopy etc/completion.bash /usr/share/bash-completion/completions/crystal
vcopy etc/completion.zsh /usr/share/zsh/site-functions/_crystal
vinstall etc/completion.bash 644 \
usr/share/bash-completion/completions crystal
vinstall etc/completion.zsh 644 usr/share/zsh/site-functions _crystal
vcopy samples /usr/share/doc/crystal
vcopy docs/* /usr/share/doc/crystal/api
vcopy src/* /usr/lib/crystal