void-packages/srcpkgs/megatools/template

23 lines
910 B
Bash

# Template file for 'megatools'
pkgname=megatools
version=1.11.0
revision=1
_release_date=20220519
build_style=meson
hostmakedepends="pkg-config asciidoc docbook2x"
makedepends="glib-networking gobject-introspection openssl-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}.${_release_date}.tar.gz"
checksum=b30b1d87d916570f7aa6d36777dd378e83215d75ea5a2c14106028b6bddc261b
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 megaexport megatest; do
ln -sf megatools "${DESTDIR}/usr/share/bash-completion/completions/${i}"
done
}