void-packages/srcpkgs/nitroshare/template

27 lines
819 B
Bash

# Template file for 'nitroshare'
pkgname=nitroshare
version=0.3.4
revision=1
wrksrc="nitroshare-desktop-${version}"
build_style=cmake
pycompile_dirs="usr/share/nautilus-python/extensions
usr/share/nemo-python/extensions
usr/share/caja-python/extensions"
hostmakedepends="pkgconf qt5-qmake"
makedepends="qt5-devel qt5-tools-devel qt5-svg-devel libnotify
qhttpengine-devel qmdnsengine-devel"
short_desc="Network file transfer application"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>>"
license="MIT"
homepage="http://nitroshare.net"
distfiles="https://github.com/nitroshare/nitroshare-desktop/archive/${version}.tar.gz"
checksum=29874e5909c29211a3c9e13f8c0f49b901ec2996e5d60d80af80d2fb80c3d7ec
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools"
fi
post_install() {
vlicense LICENSE.txt
}