From dd5eef8eb0d2dedb6f1d461d132c2c9a9cb05db8 Mon Sep 17 00:00:00 2001 From: RunningDroid Date: Sat, 28 Jul 2018 04:50:25 +0000 Subject: [PATCH] megatools: update to 1.10.0 (#1233) --- srcpkgs/megatools/template | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/srcpkgs/megatools/template b/srcpkgs/megatools/template index afc64598c64..58908498c0f 100644 --- a/srcpkgs/megatools/template +++ b/srcpkgs/megatools/template @@ -1,13 +1,21 @@ # Template file for 'megatools' pkgname=megatools -version=1.9.98 -revision=4 +version=1.10.0 +revision=1 build_style=gnu-configure hostmakedepends="pkg-config asciidoc" makedepends="glib-networking gobject-introspection libressl-devel libcurl-devel fuse-devel libsodium-devel glib-devel" short_desc="Command line client for Mega.nz file sharing service" maintainer="RunningDroid " -license="GPL-2" +license="GPL-2.0-or-later" homepage="https://megatools.megous.com/" distfiles="${homepage}/builds/megatools-${version}.tar.gz" -checksum=9b0521a4d27dbc417fc8e12610ac1e1da729bf6d6eb5bef927ef3670b372a16f +checksum=788a51d0977db95c371c97917aee3d39e145044b6bb70d671bc76c2ea6c4171b + +post_install() { + vinstall contrib/bash-completion/megatools 644 usr/share/bash-completion/completions + + for i in megadl megadf megamkdir megaget megareg megarm megaput megals megacopy; do + ln -sf megatools "${DESTDIR}/usr/share/bash-completion/completions/${i}" + done +}