Skip to content

Instantly share code, notes, and snippets.

@starain
Last active February 17, 2018 17:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save starain/d4a413826cd957384a2bbc744c4325c5 to your computer and use it in GitHub Desktop.
Save starain/d4a413826cd957384a2bbc744c4325c5 to your computer and use it in GitHub Desktop.
Chrome remote desktop AUR patch: 63.0.3239.17
--- ../chrome-remote-desktop/PKGBUILD 2017-10-16 04:38:35.000000000 -0700
+++ PKGBUILD 2017-12-09 16:17:05.000000000 -0800
@@ -3,7 +3,7 @@
# Contributor: Mateus Rodrigues Costa <charles [dot] costar [at] gmail [dot] com>
pkgname=chrome-remote-desktop
-pkgver=61.0.3163.20
+pkgver=63.0.3239.17
pkgrel=2
pkgdesc="Allows you to securely access your computer over the Internet through Chrome."
url="https://chrome.google.com/webstore/detail/gbchcmhmhahfdphkhkmpfmihenigjmpp"
@@ -11,7 +11,7 @@
license=('BSD')
install=$pkgname.install
depends=('python2' 'python2-psutil' 'gconf' 'gtk3' 'nss'
- 'xorg-xdpyinfo' 'xorg-setxkbmap' 'xorg-server-xvfb' 'xorg-xauth')
+ 'xorg-xdpyinfo' 'xorg-setxkbmap' 'xorg-server-xvfb' 'xorg-xauth' 'xorg-xrandr')
makedepends=('nano')
#source_i686=("http://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/${pkgname:0:1}/${pkgname}/${pkgname}_${pkgver}_i386.deb")
@@ -19,7 +19,7 @@
source=("$pkgname.service"
"crd")
#md5sums_i686=('bf9135f439fa4bfa1daf16e96c62d87a')
-md5sums_x86_64=('d7203d1b64eebfebc8aacd7b7a6e7b6e')
+md5sums_x86_64=('a933a425339b7d5da9dcb71fca15611f')
md5sums=('6f6083ff37f036f590702c7b1319445b'
'ad1e228db2a456bb9e5b11258bc58bf7')
@@ -34,10 +34,12 @@
bsdtar -xf data.tar.xz -C .
msg2 'Patching Python script'
- sed -e '1 s/python/python2/' \
- -e '/^.*sudo_command =/ s/"gksudo .*"/"pkexec"/' \
+ sed -e '/^.*sudo_command =/ s/"gksudo .*"/"pkexec"/' \
-e '/^.*command =/ s/s -- sh -c/s sh -c/' \
-i opt/google/chrome-remote-desktop/chrome-remote-desktop
+
+ msg2 'Setting up correct permission'
+ chmod +s opt/google/chrome-remote-desktop/user-session
}
build() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment