From 58932a7184f444d84089c3abb33c5a454c5ebfaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 4 Sep 2020 22:08:10 +0700 Subject: [PATCH] zsh-autosuggestions: don't install useless files --- srcpkgs/zsh-autosuggestions/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/zsh-autosuggestions/template b/srcpkgs/zsh-autosuggestions/template index 5e5b225037c..668cccd4f34 100644 --- a/srcpkgs/zsh-autosuggestions/template +++ b/srcpkgs/zsh-autosuggestions/template @@ -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 " @@ -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 }