fix build archlinux

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-04-14 09:53:51 +08:00
parent 0ba9aba751
commit c6820153ff

View File

@ -7,7 +7,7 @@ arch=('x86_64')
url="" url=""
license=('AGPL-3.0') license=('AGPL-3.0')
groups=() groups=()
depends=('gtk3' 'xdotool' 'libxcb' 'libxfixes' 'alsa-lib' 'curl' 'libva' 'libvdpau' 'libappindicator-gtk3' 'pam' 'gst-plugins-base' 'gst-plugin-pipewire') depends=('gtk3' 'xdotool' 'libxcb' 'libxfixes' 'alsa-lib' 'curl' 'libva' 'libvdpau' 'libappindicator-gtk3')
makedepends=() makedepends=()
checkdepends=() checkdepends=()
optdepends=() optdepends=()
@ -22,6 +22,7 @@ noextract=()
md5sums=() #generate with 'makepkg -g' md5sums=() #generate with 'makepkg -g'
package() { package() {
pacman -S --noconfirm pam gst-plugins-base gst-plugin-pipewire
if [[ ${FLUTTER} ]]; then if [[ ${FLUTTER} ]]; then
mkdir -p "${pkgdir}/usr/lib/rustdesk" && cp -r ${HBB}/flutter/build/linux/x64/release/bundle/* -t "${pkgdir}/usr/lib/rustdesk" mkdir -p "${pkgdir}/usr/lib/rustdesk" && cp -r ${HBB}/flutter/build/linux/x64/release/bundle/* -t "${pkgdir}/usr/lib/rustdesk"
fi fi