void-packages/srcpkgs/scrcpy/template
2019-03-16 04:55:47 -03:00

25 lines
939 B
Bash

# Template file for 'scrcpy'
pkgname=scrcpy
version=1.8
revision=1
#XXX: Just release a new patchversion...
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 <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}.jar"
checksum="1d4b53573554a60fa46b6b40685dbe6c8474bc451ecbe803e2f2ec9724b48a01
839055ef905903bf98ead1b9b8a127fe402b39ad657a81f9a914b2dbcb2ce5c0"
skip_extraction="scrcpy-server-v${version}.jar"
post_install() {
vinstall ${XBPS_SRCDISTDIR}/scrcpy-${version}/scrcpy-server-v${version}.jar \
644 /usr/share/scrcpy/
}