void-packages/srcpkgs/nitroshare/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

28 lines
851 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="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="http://nitroshare.net"
distfiles="https://github.com/nitroshare/nitroshare-desktop/archive/${version}.tar.gz"
checksum=29874e5909c29211a3c9e13f8c0f49b901ec2996e5d60d80af80d2fb80c3d7ec
python_version=2 #unverified
patch_args=-Np0
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools"
fi
post_install() {
vlicense LICENSE.txt
}