summaryrefslogtreecommitdiffstats
path: root/abs/extra/tigervnc/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-01-27 23:13:30 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-01-27 23:13:30 (GMT)
commitbbf5814ec32ac78552bec7a9033d76277245472e (patch)
treeb2613d059975604061b131ca3cf2ec49454080fb /abs/extra/tigervnc/PKGBUILD
parentff2f92f8c591385d2f721c9236ee7670c6182e5f (diff)
downloadlinhes_pkgbuild-bbf5814ec32ac78552bec7a9033d76277245472e.zip
linhes_pkgbuild-bbf5814ec32ac78552bec7a9033d76277245472e.tar.gz
linhes_pkgbuild-bbf5814ec32ac78552bec7a9033d76277245472e.tar.bz2
tigervnc: add .install to create vncsvc user
add vncsvc sudo rules. refs #1007
Diffstat (limited to 'abs/extra/tigervnc/PKGBUILD')
-rw-r--r--abs/extra/tigervnc/PKGBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/abs/extra/tigervnc/PKGBUILD b/abs/extra/tigervnc/PKGBUILD
index 6d5da40..db327ef 100644
--- a/abs/extra/tigervnc/PKGBUILD
+++ b/abs/extra/tigervnc/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=tigervnc
pkgver=1.6.0
-pkgrel=1
+pkgrel=2
_xorgver=1.18.0
pkgdesc="Suite of VNC servers and clients. Based on the VNC 4 branch of TightVNC."
arch=('i686' 'x86_64')
@@ -19,18 +19,14 @@ makedepends=('cmake' 'nasm' 'xorg-font-util' 'xorg-util-macros' 'bigreqsproto'
'mesa' 'imagemagick')
optdepends=('mesa: for OpenGL functionality in Xvnc')
conflicts=('tightvnc')
+install=tiger.install
source=($pkgname-$pkgver.tar.gz::https://github.com/TigerVNC/tigervnc/archive/v${pkgver}.tar.gz
ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-${_xorgver}.tar.bz2
vncserver.service
vncviewer.desktop
+ vncsvc.rules
gethomedir.patch
xorg118.patch)
-md5sums=('78b736445781d86c48e942465a391ccc'
- '3c1c1057d3ad27380d8dd87ffcc182cd'
- '1aad8f06504b3e29a24ccfbaab617973'
- 'b200d83c60e80c6f9693ea19a2d9f5b0'
- '22f1523a0eca56ad79cfabd0db6e2cf6'
- '2fd32181679077eb7f7ca06cf25f443f')
prepare() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -71,4 +67,17 @@ package() {
$pkgdir/usr/lib/systemd/user/vncserver@.service
install -Dm0644 $srcdir/vncserver.service $pkgdir/usr/lib/systemd/system/vncserver.service
install -Dm0644 $srcdir/vncviewer.desktop $pkgdir/usr/share/applications/vncviewer.desktop
+
+ #LinHES sudo rules
+ mkdir -p $pkgdir/etc/sudoers.d/
+ chmod 750 $pkgdir/etc/sudoers.d/
+ chown -R root:root $pkgdir/etc/sudoers.d
+ install -o root -g root -m 0750 $srcdir/vncsvc.rules $pkgdir/etc/sudoers.d/vncsvc-tigervnc
}
+md5sums=('78b736445781d86c48e942465a391ccc'
+ '3c1c1057d3ad27380d8dd87ffcc182cd'
+ '1aad8f06504b3e29a24ccfbaab617973'
+ 'b200d83c60e80c6f9693ea19a2d9f5b0'
+ 'f333a228ddbefffc6ce945754bc9c5c5'
+ '22f1523a0eca56ad79cfabd0db6e2cf6'
+ '2fd32181679077eb7f7ca06cf25f443f')