autoupdate: scrcpy to 1.11-1 from aur

This commit is contained in:
Archlinux-Jerry Build Bot 2019-11-20 12:16:21 +08:00
parent beddb4b920
commit aed8b457c2
2 changed files with 11 additions and 7 deletions

4
scrcpy/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*
!/.SRCINFO
!/.gitignore
!/PKGBUILD

View file

@ -1,8 +1,8 @@
# Contributor: Andrew Rabert <ar@nullsum.net>
pkgname=scrcpy
pkgver=1.10
pkgrel=2
pkgver=1.11
pkgrel=1
pkgdesc='Display and control your Android device'
arch=('aarch64')
url='https://github.com/Genymobile/scrcpy'
@ -11,12 +11,12 @@ depends=('ffmpeg' 'sdl2')
makedepends=('meson')
optdepends=('android-tools: required if adb is not already installed')
source=("https://github.com/Genymobile/scrcpy/archive/v${pkgver}.tar.gz"
"https://github.com/Genymobile/scrcpy/releases/download/v${pkgver}/scrcpy-server-v${pkgver}.jar")
sha256sums=('71bd3b01f26233d73b91c0953ce004bd3195bcfd0c83b76c269094fb06e5ffa5'
'cbeb1a4e046f1392c1dc73c3ccffd7f86dec4636b505556ea20929687a119390')
"https://github.com/Genymobile/scrcpy/releases/download/v${pkgver}/scrcpy-server-v${pkgver}")
sha256sums=('86fccd2190a14c7f3024edf922229919803dee774f91c85fdee54029e179f270'
'ff3a454012e91d9185cfe8ca7691cea16c43a7dcc08e92fa47ab9f0ea675abd1')
src_name="scrcpy-${pkgver}"
src_server="scrcpy-server-v${pkgver}.jar"
src_server="scrcpy-server-v${pkgver}"
build() {
cd "${src_name}"
@ -35,6 +35,6 @@ build() {
package() {
install -Dm 755 "${src_name}/build/app/scrcpy" "${pkgdir}/usr/bin/scrcpy"
install -Dm 644 "${src_server}" "${pkgdir}/usr/local/share/scrcpy/scrcpy-server.jar"
install -Dm 644 "${src_server}" "${pkgdir}/usr/local/share/scrcpy/scrcpy-server"
mkdir -p "${pkgdir}/usr/bin"
}