void-packages/srcpkgs/megatools/template

26 lines
808 B
Bash
Raw Normal View History

# Template file for 'megatools'
pkgname=megatools
version=1.9.97
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
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"
homepage="https://megatools.megous.com/"
distfiles="${homepage}/builds/megatools-${version}.tar.gz"
checksum=3316c56ee55adef0ab113aad41ef95eb28fc15218639f69b1e04362b1c725af3
megatools-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
}
}