From 1e22a0f4292a8588745bb9f5187bc2ea4c72e1b6 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 15 Apr 2018 20:26:38 +0200 Subject: [PATCH] avideo: switch to python3, fix template --- srcpkgs/avideo/template | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/srcpkgs/avideo/template b/srcpkgs/avideo/template index 374bcc5aab7..1456759ce99 100644 --- a/srcpkgs/avideo/template +++ b/srcpkgs/avideo/template @@ -1,16 +1,23 @@ # Template file for 'avideo' pkgname=avideo version=2017.9.27 -revision=2 -wrksrc="avideo" +revision=3 noarch=yes -build_style=python2-module +wrksrc="avideo" +build_style=python3-module pycompile_module="avideo" -hostmakedepends="pandoc python" -depends="python" +hostmakedepends="python3" +depends="python3" short_desc="Libre video and audio downloader for GNU/Linux" maintainer="cr6git " license="GPL-3" homepage="https://notabug.org/GPast/avideo" distfiles="https://notabug.org/GPast/avideo/raw/archive/${version}/avideo-${version}.tar.gz" checksum=474f9ae5f271d2f838e512cd6d02c631fb15e90b29949a6f8d2b0b13f13777bf + +post_install() { + rm -rf ${DESTDIR}/usr/etc + vinstall avideo.bash-completion 644 usr/share/bash-completion/completions avideo + vinstall avideo.zsh 644 usr/share/zsh/site-functions _avideo + vinstall avideo.fish 644 usr/share/fish/completions avideo.fish +}