summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1be0a432f844ee49d28e584c0f0adb416bc2d4e1 (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
# Maintainer: suzakuwcx <suzakuwcx@gmail.com>
pkgname=raylink
pkgver=8.0.4.8
pkgrel=1
pkgdesc="Remote desktop software"
arch=('x86_64')
url="https://www.raylink.live/"
license=('custom')
depends=(
  'libxext' 'libxcb' 'libx11' 'libxi' 'libxrender' 'freetype2' 'fontconfig' 'dbus'
  'glib2' 'libxkbcommon' 'libxcb' 'libsm' 'libice' 'gcc-libs' 'libxau' 'libxtst'
  'libxrandr' 'libxinerama' 'libxfixes'
)
source=("https://download.raylink.live/web2.0/RayLink/Linux/RayLink_${pkgver}.deb"
        "raylink")
sha256sums=('8c569935277187c0bcc3ba5c7645780bed13164bc67dc163ba55dd1b94f6399f'
            '92ae584ea900015d7f8bf92214533742711e0a24aa2bd67a5291331aee023d9f')

build() {
    tar -Jxvf data.tar.xz
    tar -zxvf control.tar.gz
}

package() {
    cp --no-preserve=ownership -fR opt/ "${pkgdir}/opt/"
    install -Dm755 raylink "${pkgdir}/usr/bin/raylink"
    install -Dm644 "usr/share/applications/raylink.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}