app=scrcpy version=1.16 build=1sml homepage="https://github.com/Genymobile/scrcpy" download="https://github.com/Genymobile/scrcpy/archive/refs/tags/v1.16.tar.gz" desc="Lightweight display and control utility to interact with Android 5.1+ devices over USB or TCP/IP" requires="meson sdl2 ffmpeg" build() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions mkdir -p build/server && cd build cp $srcdir/scrcpy-server-v"$version".zip server/scrcpy-server meson .. \ --prefix="/" \ --buildtype release ninja DESTDIR="$pkg" ninja install cp ../LICENSE $pkgdocs/ mkfinalpkg } sha512sums=" e50903e3be3f822e2bf8c873b636aef87e83122d65f48159345dab36cc352f56b019aa528181458f2b1a3043938ce96e0a35ba51c12a5e2bec8bdaedfb20914c scrcpy-1.16.tar.gz 52d4fbf48a91e61abff5e0bbc510c83fb4c1238a2791f888baf9fb04f04c5c19dfc82525c717fc1b92bd86fb2152cb29f6932784e1e2115329288ec97d8594fc scrcpy-server-v1.16.zip "