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 | |
parent | 5c2dbbfe41ef35a2e1a1fc74eb13d50ac20ca1fc (diff) | |
download | aur-d1e29f7377e39152084cac8e6e3b27c63c5586c7.tar.gz |
add xrog-xhost dependency for remote control
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rw-r--r-- | sunlogin-client-xhost.desktop | 9 |
3 files changed, 22 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = sunloginclient 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. pkgver = 10.0.2.24779 - pkgrel = 3 + pkgrel = 4 url = https://sunlogin.oray.com install = sunloginclient.INSTALL arch = x86_64 @@ -12,13 +12,16 @@ pkgbase = sunloginclient depends = hspell depends = nuspell depends = libvoikko + depends = xorg-xhost options = !emptydirs options = !strip backup = etc/orayconfig.conf source = http://download.oray.com/sunlogin/linux/SunloginClient-10.0.2.24779_amd64.deb source = LICENSE::https://service.oray.com/question/1820.html + source = sunlogin-client-xhost.desktop sha256sums = da2a61d106c2cecce271c89cd182b162bce34018539e1ba431580c5bbe120252 sha256sums = SKIP + sha256sums = 15abf7f89fe7d54112e083914740108a73b6b2cd9d942d49de4c7ccb66c3e30f pkgname = sunloginclient @@ -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}" diff --git a/sunlogin-client-xhost.desktop b/sunlogin-client-xhost.desktop new file mode 100644 index 000000000000..e96e396e26f2 --- /dev/null +++ b/sunlogin-client-xhost.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=xhost + +Name=disable user access control for sunlogin client +Comment=sunlogin client helper +Terminal=false +Type=Application +StartupNotify=false +X-KDE-autostart-after=panel |