void-packages/srcpkgs/megatools/template

22 lines
849 B
Bash

# Template file for 'megatools'
pkgname=megatools
version=1.10.3
revision=2
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.0-or-later"
homepage="https://megatools.megous.com/"
distfiles="${homepage}/builds/megatools-${version}.tar.gz"
checksum=8dc1ca348633fd49de7eb832b323e8dc295f1c55aefb484d30e6475218558bdb
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
}