void-packages/srcpkgs/megatools/template
RunningDroid 8f4536956b New package: megatools-1.9.97
Closes: #5073 [via git-merge-pr]
2016-11-21 01:52:27 -05:00

25 lines
808 B
Bash

# 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
}
}