void-packages/srcpkgs/scrcpy/template
2021-11-14 17:37:04 -03:00

24 lines
894 B
Bash

# Template file for 'scrcpy'
pkgname=scrcpy
version=1.20
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="0c667e7de043a67a740be99d3f236a7aa4107ff62c408e7c462f4fe291f045a7
b20aee4951f99b060c4a44000ba94de973f9604758ef62beb253b371aad3df34"
skip_extraction="scrcpy-server-v${version}"
post_install() {
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version} \
644 /usr/share/scrcpy/ scrcpy-server
}