PKGBUILD 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. pkgname=rustdesk
  2. pkgver=1.3.3
  3. pkgrel=0
  4. epoch=
  5. pkgdesc=""
  6. arch=('x86_64')
  7. url=""
  8. license=('AGPL-3.0')
  9. groups=()
  10. depends=('gtk3' 'xdotool' 'libxcb' 'libxfixes' 'alsa-lib' 'libva' 'libvdpau' 'libappindicator-gtk3' 'pam' 'gst-plugins-base' 'gst-plugin-pipewire')
  11. makedepends=()
  12. checkdepends=()
  13. optdepends=()
  14. provides=()
  15. conflicts=()
  16. replaces=()
  17. backup=()
  18. options=()
  19. install=pacman_install
  20. changelog=
  21. noextract=()
  22. md5sums=() #generate with 'makepkg -g'
  23. package() {
  24. if [[ ${FLUTTER} ]]; then
  25. mkdir -p "${pkgdir}/usr/lib/rustdesk" && cp -r ${HBB}/flutter/build/linux/x64/release/bundle/* -t "${pkgdir}/usr/lib/rustdesk"
  26. fi
  27. mkdir -p "${pkgdir}/usr/bin"
  28. pushd ${pkgdir} && ln -s /usr/lib/rustdesk/rustdesk usr/bin/rustdesk && popd
  29. install -Dm 644 $HBB/res/rustdesk.service -t "${pkgdir}/usr/share/rustdesk/files"
  30. install -Dm 644 $HBB/res/rustdesk.desktop -t "${pkgdir}/usr/share/rustdesk/files"
  31. install -Dm 644 $HBB/res/rustdesk-link.desktop -t "${pkgdir}/usr/share/rustdesk/files"
  32. install -Dm 644 $HBB/res/128x128@2x.png "${pkgdir}/usr/share/icons/hicolor/256x256/apps/rustdesk.png"
  33. install -Dm 644 $HBB/res/scalable.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/rustdesk.svg"
  34. }