summaryrefslogtreecommitdiff
path: root/vysor-bin/PKGBUILD
blob: 4a162fb35f091e9d0b18b1acb89e12ad7819c6b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Axel Navarro <navarroaxel at gmail dot com>

_pkgname=vysor
pkgname=${_pkgname}-bin
pkgver=5.0.7
pkgrel=12
pkgdesc="Mirror and control your Android device"
arch=('x86_64')
url="https://vysor.io"
license=('custom')
provides=('vysor')
conflicts=('vysor')
_pinned_dependencies=(
  'gcc-libs=14.1.1+r58+gfc9fb69ad62'
  'glibc>=2.39'
  'libasound.so=2'
  'libatk-1.0.so=0'
  'libatk-bridge-2.0.so=0'
  'libatspi.so=0'
  'libcairo.so=2'
  'libcups=2:2.4.8'
  'libdbus-1.so=3'
  'libdrm=2.4.120'
  'libexpat.so=1'
  'libgio-2.0.so=0'
  'libglib-2.0.so=0'
  'libgobject-2.0.so=0'
  'libgtk-3.so=0'
  'libpango-1.0.so=0'
  'libx11=1.8.9'
  'libxcb=1.17.0'
  'libxcomposite=0.4.6'
  'libxdamage=1.1.6'
  'libxext=1.3.6'
  'libxfixes=6.0.1'
  'libxkbcommon.so=0'
  'libxrandr=1.5.4'
  'mesa=1:24.0.8'
  'nspr=4.35'
  'nss=3.100'
)
depends=("${_pinned_dependencies[@]}")
source=("https://github.com/koush/vysor.io/releases/download/v$pkgver/Vysor-linux-$pkgver.deb")
sha256sums=('adf4a88c8d87d25d2e0ca6382afeea69712336668909250e2bb9a40d733cec77')

package() {
  msg2 "Extracting the data.tar.xz..."
  bsdtar -xf data.tar.xz -C "$pkgdir/"

  install -d -m 755 "${pkgdir}/usr/bin"
  ln -s "/opt/Vysor/vysorapp" "${pkgdir}/usr/bin/vysorapp"
}