[arch-commits] Commit in x11vnc/trunk (PKGBUILD)

Gaetan Bisson bisson at archlinux.org
Wed May 25 20:25:00 UTC 2016


    Date: Wednesday, May 25, 2016 @ 22:25:00
  Author: bisson
Revision: 268562

switch to active upstream, link to libvncserver dynamically

Modified:
  x11vnc/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-25 20:17:33 UTC (rev 268561)
+++ PKGBUILD	2016-05-25 20:25:00 UTC (rev 268562)
@@ -3,21 +3,27 @@
 # Contributor: damir <damir at archlinux.org>
 
 pkgname=x11vnc
-pkgver=0.9.13
-pkgrel=7
+pkgver=0.9.14
+pkgrel=1
 pkgdesc='VNC server for real X displays'
-url='http://www.karlrunge.com/x11vnc/'
+url='https://github.com/LibVNC/x11vnc/'
 arch=('i686' 'x86_64')
 license=('GPL2')
 optdepends=('tk: GUI support'
             'net-tools: -auth guess'
             'xf86-video-dummy: Xdummy script')
-depends=('openssl' 'libjpeg' 'libxtst' 'libxinerama' 'libxdamage' 'libxrandr' 'avahi')
-source=("http://downloads.sourceforge.net/project/libvncserver/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+depends=('libvncserver' 'libxtst' 'libxinerama' 'libxdamage' 'libxrandr' 'avahi')
+source=("https://github.com/LibVNC/x11vnc/archive/${pkgver}.tar.gz"
         'service')
-sha1sums=('f011d81488ac94dc8dce2d88739c23bd85a976fa'
+sha1sums=('f5903a5faade531ef6223d6740826a7729bc696c'
           '53e1ed7f84518a699a29607a03bee2321f9f9624')
 
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	touch config.h.in
+	aclocal; automake --add-missing; autoconf
+}
+
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	./configure --prefix=/usr --mandir=/usr/share/man
@@ -27,7 +33,6 @@
 package() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	make DESTDIR="${pkgdir}" install
-	install x11vnc/misc/{rx11vnc,Xdummy} "${pkgdir}"/usr/bin
+	install misc/{rx11vnc,Xdummy} "${pkgdir}"/usr/bin
 	install -Dm644 ../service "${pkgdir}/usr/lib/systemd/system/x11vnc.service"
-	rm -fr "${pkgdir}"/usr/include/rfb # provided by libvncserver
 }



More information about the arch-commits mailing list