From b6acee19c77d1d727261a720831bcd6664cd034a 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:19:43 +0700 Subject: [PATCH] zsh-completions: _composer is shiped by zsh --- srcpkgs/zsh-completions/template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/zsh-completions/template b/srcpkgs/zsh-completions/template index 2256bf9a127..2cd7e85d49e 100644 --- a/srcpkgs/zsh-completions/template +++ b/srcpkgs/zsh-completions/template @@ -1,8 +1,7 @@ # Template file for 'zsh-completions' pkgname=zsh-completions version=0.32.0 -revision=1 -archs=noarch +revision=2 depends="zsh" short_desc="Additional completions for Zsh" maintainer="Alexander Gehrke " @@ -11,9 +10,12 @@ homepage="https://github.com/zsh-users/zsh-completions" distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=d2d20836fb60d2e5de11b08f1a8373484dc01260d224e64c6de9eec44137fa63 +post_patch() { + rm -f src/_composer +} + do_install() { vmkdir usr/share/zsh/site-functions/ vcopy src/_* usr/share/zsh/site-functions/ - echo "See each file in /usr/share/zsh/site-functions for license details" > LICENSE vlicense LICENSE }