zsh-autosuggestions: don't install useless files

This commit is contained in:
Đoàn Trần Công Danh 2020-09-04 22:08:10 +07:00
parent 2d27ed3850
commit 58932a7184
1 changed files with 6 additions and 4 deletions

View File

@ -1,8 +1,7 @@
# Template file for 'zsh-autosuggestions'
pkgname=zsh-autosuggestions
version=0.6.4
revision=1
archs=noarch
revision=2
depends="zsh"
short_desc="Fish-like autosuggestions for zsh"
maintainer="vinnyA3 <vincent.aceto@gmail.com>"
@ -11,9 +10,12 @@ homepage="https://github.com/zsh-users/zsh-autosuggestions"
distfiles="https://github.com/zsh-users/zsh-autosuggestions/archive/v${version}.tar.gz"
checksum=0b6e251ced5fd7b5b78ea01f798ecc1b46169743a717567f0ec0a21198a372e8
do_build() {
make
}
do_install() {
vinstall ${pkgname}.zsh 644 usr/share/zsh/plugins/${pkgname}
vinstall VERSION 644 usr/share/zsh/plugins/${pkgname}
vcopy src usr/share/zsh/plugins/${pkgname}
vinstall ${pkgname}.plugin.zsh 644 usr/share/zsh/plugins/${pkgname}
vlicense LICENSE
}