summaryrefslogtreecommitdiff
path: root/extra/x11vnc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-16 00:02:36 +0000
committerroot <root@rshg054.dnsready.net>2012-08-16 00:02:36 +0000
commit0fc1870f2eadde8cb06004be1cbe8d1a4333aa69 (patch)
tree09ae142c72b3ef3bba14bcd0fbd982446585d894 /extra/x11vnc
parent8f1eb849d6de0031d4d91fb6d8780828b1ba924b (diff)
Thu Aug 16 00:02:36 UTC 2012
Diffstat (limited to 'extra/x11vnc')
-rw-r--r--extra/x11vnc/PKGBUILD20
-rw-r--r--extra/x11vnc/service7
2 files changed, 17 insertions, 10 deletions
diff --git a/extra/x11vnc/PKGBUILD b/extra/x11vnc/PKGBUILD
index fd49db451..91885eae6 100644
--- a/extra/x11vnc/PKGBUILD
+++ b/extra/x11vnc/PKGBUILD
@@ -1,21 +1,23 @@
-# $Id: PKGBUILD 137979 2011-09-13 20:01:54Z bisson $
+# $Id: PKGBUILD 165299 2012-08-15 01:45:56Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: damir <damir@archlinux.org>
pkgname=x11vnc
pkgver=0.9.13
-pkgrel=1
+pkgrel=2
pkgdesc='VNC server for real X displays'
-arch=('i686' 'x86_64')
url='http://www.karlrunge.com/x11vnc/'
+arch=('i686' 'x86_64')
license=('GPL2')
-depends=('openssl' 'libjpeg' 'zlib' 'libx11' 'libxtst' 'libxinerama' 'libxdamage' 'libxrandr' 'avahi')
+depends=('openssl' 'libjpeg' 'libxtst' 'libxinerama' 'libxdamage' 'libxrandr' 'avahi')
optdepends=('tk: for GUI support')
backup=('etc/conf.d/x11vnc')
source=("http://downloads.sourceforge.net/project/libvncserver/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
- 'conf.d'
- 'rc.d')
+ 'service'
+ 'conf.d'
+ 'rc.d')
sha1sums=('f011d81488ac94dc8dce2d88739c23bd85a976fa'
+ '53e1ed7f84518a699a29607a03bee2321f9f9624'
'11011cce06511e9ba61672a1c80bb63a3a187539'
'477892cf0f0020043444b7493c80684762ded506')
@@ -28,9 +30,7 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
-
+ install -Dm755 ../rc.d "${pkgdir}/etc/rc.d/x11vnc"
+ install -Dm644 ../conf.d "${pkgdir}/etc/conf.d/x11vnc"
rm -fr "${pkgdir}"/usr/include/rfb # provided by libvncserver
-
- install -D -m 755 "${srcdir}/rc.d" "${pkgdir}/etc/rc.d/x11vnc"
- install -D -m 644 "${srcdir}/conf.d" "${pkgdir}/etc/conf.d/x11vnc"
}
diff --git a/extra/x11vnc/service b/extra/x11vnc/service
new file mode 100644
index 000000000..0ccc2fea0
--- /dev/null
+++ b/extra/x11vnc/service
@@ -0,0 +1,7 @@
+[Unit]
+Description=VNC Server for X11
+Requires=graphical.target
+After=graphical.target
+
+[Service]
+ExecStart=/usr/bin/x11vnc