# Template file for 'synergy' pkgname=synergy version=1.13.0 revision=2 wrksrc="${pkgname}-core-${version}-stable" build_style=cmake configure_args="-DBUILD_TESTS=OFF -DSYNERGY_BUILD_LEGACY_GUI=ON" hostmakedepends="unzip pkg-config qt5-qmake qt5-host-tools" makedepends="avahi-compat-libs-devel libcurl-devel avahi-compat-libs-devel libSM-devel libXext-devel libXrandr-devel libXtst-devel libXinerama-devel qt5-devel qt5-tools-devel" short_desc="Share a single mouse and keyboard between multiple computers" maintainer="Orphaned " license="GPL-2.0-only" homepage="http://synergy-foss.org/" distfiles="https://github.com/symless/synergy-core/archive/v${version}-stable.tar.gz" checksum=a57989dd2d3ae30657f2b95cba3cae112c189f9bbbc3d1b25b3874859afeb94d post_install() { vmkdir usr/share/examples/${pkgname} install -m644 doc/synergy.conf.example* \ ${DESTDIR}/usr/share/examples/${pkgname} vsv synergys vsv synergyc } synergy-gui_package() { depends="desktop-file-utils ${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/bin/synergy vmove usr/share/icons vmove usr/share/applications } }