megatools: update to 1.10.0 (#1233)

This commit is contained in:
RunningDroid 2018-07-28 04:50:25 +00:00 committed by cr6git
parent c8ca6b4b78
commit dd5eef8eb0

View File

@ -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 <runningdroid@zoho.com>"
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
}