mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-22 07:03:17 +03:00
remove flutter/PKGBUILD, and modify build.py, not tested yet
This commit is contained in:
14
PKGBUILD
14
PKGBUILD
@@ -1,13 +1,13 @@
|
||||
pkgname=rustdesk
|
||||
pkgver=1.1.10
|
||||
pkgver=1.2.0
|
||||
pkgrel=0
|
||||
epoch=
|
||||
pkgdesc=""
|
||||
arch=('x86_64')
|
||||
url=""
|
||||
license=('GPL-3.0')
|
||||
license=('AGPL-3.0')
|
||||
groups=()
|
||||
depends=('gtk3' 'xdotool' 'libxcb' 'libxfixes' 'alsa-lib' 'pulseaudio' 'ttf-arphic-uming' 'python-pip' 'curl')
|
||||
depends=('gtk3' 'xdotool' 'libxcb' 'libxfixes' 'alsa-lib' 'pulseaudio' 'ttf-arphic-uming' 'python-pip' 'curl' 'libappindicator-gtk3')
|
||||
makedepends=()
|
||||
checkdepends=()
|
||||
optdepends=()
|
||||
@@ -22,8 +22,12 @@ noextract=()
|
||||
md5sums=() #generate with 'makepkg -g'
|
||||
|
||||
package() {
|
||||
install -Dm 755 ${HBB}/target/release/${pkgname} -t "${pkgdir}/usr/bin"
|
||||
install -Dm 644 ${HBB}/libsciter-gtk.so -t "${pkgdir}/usr/lib/rustdesk"
|
||||
if [[ ${FLUTTER} ]]; then
|
||||
mkdir -p "${pkgdir}/usr/lib/rustdesk" && cp -r ${HBB}/flutter/build/linux/x64/release/bundle/* -t "${pkgdir}/usr/lib/rustdesk"
|
||||
cp ${HBB}/flutter/build/linux/x64/release/liblibrustdesk.so "${pkgdir}/usr/lib/rustdesk/librustdesk.so"
|
||||
fi
|
||||
mkdir -p "${pkgdir}/usr/bin"
|
||||
pushd ${pkgdir} && ln -s /usr/lib/rustdesk/flutter_hbb usr/bin/rustdesk && popd
|
||||
install -Dm 644 $HBB/rustdesk.service -t "${pkgdir}/usr/share/rustdesk/files"
|
||||
install -Dm 644 $HBB/rustdesk.desktop -t "${pkgdir}/usr/share/rustdesk/files"
|
||||
install -Dm 644 $HBB/128x128@2x.png "${pkgdir}/usr/share/rustdesk/files/rustdesk.png"
|
||||
|
||||
Reference in New Issue
Block a user