summaryrefslogtreecommitdiffstats
path: root/abs/extra/x11vnc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/x11vnc/PKGBUILD')
-rw-r--r--abs/extra/x11vnc/PKGBUILD49
1 files changed, 28 insertions, 21 deletions
diff --git a/abs/extra/x11vnc/PKGBUILD b/abs/extra/x11vnc/PKGBUILD
index 2ee8284..323462d 100644
--- a/abs/extra/x11vnc/PKGBUILD
+++ b/abs/extra/x11vnc/PKGBUILD
@@ -1,30 +1,37 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: damir <damir@archlinux.org>
+# $Id: PKGBUILD 168731 2012-10-15 02:00:18Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: damir <damir@archlinux.org>
pkgname=x11vnc
-pkgver=0.9.12
+pkgver=0.9.13
pkgrel=3
-pkgdesc="a VNC server for real X displays"
-arch=("i686" "x86_64")
-license=("GPL2")
-url="http://www.karlrunge.com/x11vnc/"
-source=("http://downloads.sourceforge.net/libvncserver/${pkgname}-${pkgver}.tar.gz")
-depends=('openssl' 'libjpeg' 'zlib' 'libx11' 'libxtst' 'libxinerama'
- 'libxdamage' 'libxrandr' 'avahi' 'recordproto')
-install=x11vnc.install
+pkgdesc='VNC server for real X displays'
+url='http://www.karlrunge.com/x11vnc/'
+arch=('i686' 'x86_64')
+license=('GPL2')
+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"
+ 'service'
+ 'conf.d'
+ 'rc.d')
+sha1sums=('f011d81488ac94dc8dce2d88739c23bd85a976fa'
+ '53e1ed7f84518a699a29607a03bee2321f9f9624'
+ '11011cce06511e9ba61672a1c80bb63a3a187539'
+ '477892cf0f0020043444b7493c80684762ded506')
build() {
-
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --mandir=/usr/share/man
- make || return 1
-
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
}
package() {
-
- cd ${srcdir}/${pkgname}-${pkgver}
- make prefix=${pkgdir}/usr install || return 1
-
+ 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"
+ install -Dm644 ../service "${pkgdir}/usr/lib/systemd/system/x11vnc.service"
+ rm -fr "${pkgdir}"/usr/include/rfb # provided by libvncserver
}
-md5sums=('1498a68d02aa7b6c97bf746c073c8d00')