# Template file for 'scrcpy' pkgname=scrcpy version=1.9 revision=2 build_style=meson configure_args="-Dbuild_server=false -Doverride_server_path=/usr/share/scrcpy/scrcpy-server-v${version}.jar" hostmakedepends="pkg-config" makedepends="SDL2-devel ffmpeg-devel" depends="android-tools" short_desc="Display and control your Android device" maintainer="SolitudeSF " license="Apache-2.0" homepage="https://github.com/Genymobile/scrcpy" distfiles="${homepage}/archive/v${version}.tar.gz ${homepage}/releases/download/v${version}/scrcpy-server-v${version}.jar" checksum="905fe62e2825310eeb77187f8974763c3ae2f08ca1f649bcaf4721f1fd14a764 ad7e539f100e48259b646f26982bc63e0a60a81ac87ae135e242855bef69bd1a" skip_extraction="scrcpy-server-v${version}.jar" post_install() { vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version}.jar \ 644 /usr/share/scrcpy/ }