mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-25 15:30:40 +08:00
autoupdate: scrcpy to 1.11-1 from aur
This commit is contained in:
parent
beddb4b920
commit
aed8b457c2
2 changed files with 11 additions and 7 deletions
4
scrcpy/.gitignore
vendored
Normal file
4
scrcpy/.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
*
|
||||||
|
!/.SRCINFO
|
||||||
|
!/.gitignore
|
||||||
|
!/PKGBUILD
|
|
@ -1,8 +1,8 @@
|
||||||
# Contributor: Andrew Rabert <ar@nullsum.net>
|
# Contributor: Andrew Rabert <ar@nullsum.net>
|
||||||
|
|
||||||
pkgname=scrcpy
|
pkgname=scrcpy
|
||||||
pkgver=1.10
|
pkgver=1.11
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc='Display and control your Android device'
|
pkgdesc='Display and control your Android device'
|
||||||
arch=('aarch64')
|
arch=('aarch64')
|
||||||
url='https://github.com/Genymobile/scrcpy'
|
url='https://github.com/Genymobile/scrcpy'
|
||||||
|
@ -11,12 +11,12 @@ depends=('ffmpeg' 'sdl2')
|
||||||
makedepends=('meson')
|
makedepends=('meson')
|
||||||
optdepends=('android-tools: required if adb is not already installed')
|
optdepends=('android-tools: required if adb is not already installed')
|
||||||
source=("https://github.com/Genymobile/scrcpy/archive/v${pkgver}.tar.gz"
|
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")
|
"https://github.com/Genymobile/scrcpy/releases/download/v${pkgver}/scrcpy-server-v${pkgver}")
|
||||||
sha256sums=('71bd3b01f26233d73b91c0953ce004bd3195bcfd0c83b76c269094fb06e5ffa5'
|
sha256sums=('86fccd2190a14c7f3024edf922229919803dee774f91c85fdee54029e179f270'
|
||||||
'cbeb1a4e046f1392c1dc73c3ccffd7f86dec4636b505556ea20929687a119390')
|
'ff3a454012e91d9185cfe8ca7691cea16c43a7dcc08e92fa47ab9f0ea675abd1')
|
||||||
|
|
||||||
src_name="scrcpy-${pkgver}"
|
src_name="scrcpy-${pkgver}"
|
||||||
src_server="scrcpy-server-v${pkgver}.jar"
|
src_server="scrcpy-server-v${pkgver}"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${src_name}"
|
cd "${src_name}"
|
||||||
|
@ -35,6 +35,6 @@ build() {
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm 755 "${src_name}/build/app/scrcpy" "${pkgdir}/usr/bin/scrcpy"
|
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"
|
mkdir -p "${pkgdir}/usr/bin"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue