2022-05-23 11:59:56 +08:00
|
|
|
pkgname=rustdesk
|
2024-06-03 21:01:41 +08:00
|
|
|
pkgver=1.2.6
|
2022-05-23 11:59:56 +08:00
|
|
|
pkgrel=0
|
|
|
|
epoch=
|
|
|
|
pkgdesc=""
|
|
|
|
arch=('x86_64')
|
|
|
|
url=""
|
2022-09-12 19:17:46 +08:00
|
|
|
license=('AGPL-3.0')
|
2022-05-23 11:59:56 +08:00
|
|
|
groups=()
|
2023-05-04 17:24:58 +08:00
|
|
|
depends=('gtk3' 'xdotool' 'libxcb' 'libxfixes' 'alsa-lib' 'libva' 'libvdpau' 'libappindicator-gtk3' 'pam' 'gst-plugins-base' 'gst-plugin-pipewire')
|
2022-05-23 11:59:56 +08:00
|
|
|
makedepends=()
|
|
|
|
checkdepends=()
|
|
|
|
optdepends=()
|
|
|
|
provides=()
|
|
|
|
conflicts=()
|
|
|
|
replaces=()
|
|
|
|
backup=()
|
|
|
|
options=()
|
|
|
|
install=pacman_install
|
|
|
|
changelog=
|
|
|
|
noextract=()
|
|
|
|
md5sums=() #generate with 'makepkg -g'
|
|
|
|
|
|
|
|
package() {
|
2022-09-12 19:17:46 +08:00
|
|
|
if [[ ${FLUTTER} ]]; then
|
|
|
|
mkdir -p "${pkgdir}/usr/lib/rustdesk" && cp -r ${HBB}/flutter/build/linux/x64/release/bundle/* -t "${pkgdir}/usr/lib/rustdesk"
|
|
|
|
fi
|
|
|
|
mkdir -p "${pkgdir}/usr/bin"
|
2023-05-14 18:19:32 +08:00
|
|
|
pushd ${pkgdir} && ln -s /usr/lib/rustdesk/rustdesk usr/bin/rustdesk && popd
|
2022-09-18 11:50:23 +08:00
|
|
|
install -Dm 644 $HBB/res/rustdesk.service -t "${pkgdir}/usr/share/rustdesk/files"
|
|
|
|
install -Dm 644 $HBB/res/rustdesk.desktop -t "${pkgdir}/usr/share/rustdesk/files"
|
2022-10-11 19:52:03 +08:00
|
|
|
install -Dm 644 $HBB/res/rustdesk-link.desktop -t "${pkgdir}/usr/share/rustdesk/files"
|
2023-08-01 06:36:19 +08:00
|
|
|
install -Dm 644 $HBB/res/128x128@2x.png "${pkgdir}/usr/share/icons/hicolor/256x256/apps/rustdesk.png"
|
2023-08-01 06:54:21 +08:00
|
|
|
install -Dm 644 $HBB/res/scalable.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/rustdesk.svg"
|
2022-05-23 11:59:56 +08:00
|
|
|
}
|