From 364c50e5a36026965534e24a0961f51e7b83cf86 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 18 Jan 2019 22:48:58 -0200 Subject: [PATCH] quodlibet: install zsh completion on site-functions. --- srcpkgs/quodlibet/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/quodlibet/template b/srcpkgs/quodlibet/template index ddb47cd4c0e..fb30103de09 100644 --- a/srcpkgs/quodlibet/template +++ b/srcpkgs/quodlibet/template @@ -1,7 +1,7 @@ # Template file for 'quodlibet' pkgname=quodlibet version=4.2.1 -revision=1 +revision=2 noarch=yes build_style=python3-module pycompile_module="quodlibet" @@ -15,3 +15,8 @@ license="GPL-2.0-or-later" homepage="https://quodlibet.readthedocs.io/en/latest/" distfiles="https://github.com/quodlibet/quodlibet/releases/download/release-${version}/quodlibet-${version}.tar.gz" checksum=870a11e685213828733222dcb3d314a90d3b7bdf4757af60954b680c49de392c + +post_install() { + vmkdir usr/share/zsh/site-functions + mv ${DESTDIR}/usr/share/zsh/{vendor-completions,site-functions}/_quodlibet +}