diff options
author | yjun123 | 2020-06-14 12:13:43 +0800 |
---|---|---|
committer | yjun123 | 2020-06-14 12:13:43 +0800 |
commit | d1e29f7377e39152084cac8e6e3b27c63c5586c7 (patch) | |
tree | e209befc6d890fb3fb2600039739b367e940d20f /PKGBUILD | |
parent | 5c2dbbfe41ef35a2e1a1fc74eb13d50ac20ca1fc (diff) | |
download | aur-d1e29f7377e39152084cac8e6e3b27c63c5586c7.tar.gz |
add xrog-xhost dependency for remote control
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -2,19 +2,21 @@ pkgname=sunloginclient pkgver=10.0.2.24779 -pkgrel=3 +pkgrel=4 pkgdesc="Sunlogin Remote Control is a software that supports remote control of mobile devices, Windows, Mac, Linux and other systems. It is the best choice for IT technology, game players, designers and other people with remote management needs." arch=("x86_64") url="https://sunlogin.oray.com" -depends=("libappindicator-gtk3" "webkitgtk" 'aspell' 'hspell' 'nuspell' 'libvoikko') +depends=("libappindicator-gtk3" "webkitgtk" 'aspell' 'hspell' 'nuspell' 'libvoikko' 'xorg-xhost') license=('custom:sunloginclient') options=("!emptydirs" "!strip") source=("http://download.oray.com/sunlogin/linux/SunloginClient-${pkgver}_amd64.deb" - 'LICENSE::https://service.oray.com/question/1820.html') + 'LICENSE::https://service.oray.com/question/1820.html' + 'sunlogin-client-xhost.desktop') install='sunloginclient.INSTALL' backup=("etc/orayconfig.conf") sha256sums=('da2a61d106c2cecce271c89cd182b162bce34018539e1ba431580c5bbe120252' - 'SKIP') + 'SKIP' + '15abf7f89fe7d54112e083914740108a73b6b2cd9d942d49de4c7ccb66c3e30f') package() { bsdtar -xf data.tar.xz -C "${pkgdir}" @@ -42,6 +44,9 @@ package() { # 创建软链 install -dm755 "$pkgdir/usr/bin" ln -s "/opt/sunlogin/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + + # xhost + + install -Dm644 "${srcdir}/sunlogin-client-xhost.desktop" "${pkgdir}/etc/xdg/autostart/sunlogin-client-xhost.desktop" # ugly hack sed -i "s#/usr/local/sunlogin\x0#/opt/sunlogin\x0\x0\x0\x0\x0\x0\x0#g" "${pkgdir}/opt/sunlogin/bin/${pkgname}" |