void-packages/srcpkgs/megatools/template

24 lines
980 B
Bash

# Template file for 'megatools'
pkgname=megatools
version=1.11.1
revision=2
_release_date=20230212
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/"
changelog="https://megatools.megous.com/builds/NEWS"
distfiles="https://megatools.megous.com/builds/megatools-${version}.${_release_date}.tar.gz"
checksum=ecfa2ee4b277c601ebae648287311030aa4ca73ea61ee730bc66bef24ef19a34
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
}