void-packages/srcpkgs/scrcpy/template
2022-02-05 02:13:33 +01:00

24 lines
894 B
Bash

# Template file for 'scrcpy'
pkgname=scrcpy
version=1.22
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 <solitudesf@protonmail.com>"
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="96af955957f354cca78971be0fb54dfbd86a5b520f98a2563d3f0b0a54f4ec5a
c05d273eec7533c0e106282e0254cf04e7f5e8f0c2920ca39448865fab2a419b"
skip_extraction="scrcpy-server-v${version}"
post_install() {
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version} \
644 /usr/share/scrcpy/ scrcpy-server
}