void-packages/srcpkgs/megatools/template

22 lines
849 B
Bash

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