# Template file for 'scrcpy' pkgname=scrcpy version=1.23 revision=1 build_style=meson configure_args="-Dcompile_server=false -Dprebuilt_server=/usr/share/scrcpy/scrcpy-server-v${version}" 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}" checksum="47686af76e2314404deda0eea58761ca1378a6a1567408b4560683461c7ea18b 2a913fd47478c0b306fca507cb0beb625e49a19ff9fc7ab904e36ef5b9fe7e68" skip_extraction="scrcpy-server-v${version}" post_install() { vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version} \ 644 /usr/share/scrcpy/ scrcpy-server }