From 9159a95daa9b38fe99b2251f169f86b52a1ab772 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 5 Aug 2011 00:00:15 +0000
Subject: x11vnc: update to 0.9.12

---
 abs/extra/x11vnc/PKGBUILD | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

diff --git a/abs/extra/x11vnc/PKGBUILD b/abs/extra/x11vnc/PKGBUILD
index 543a7ab..8e6835f 100644
--- a/abs/extra/x11vnc/PKGBUILD
+++ b/abs/extra/x11vnc/PKGBUILD
@@ -2,20 +2,28 @@
 # Maintainer: damir <damir@archlinux.org>
 
 pkgname=x11vnc
-pkgver=0.9.9
+pkgver=0.9.12
 pkgrel=1
 pkgdesc="a VNC server for real X displays"
 arch=("i686" "x86_64")
 license=("GPL2")
-#source=(http://dl.sourceforge.net/sourceforge/libvncserver/$pkgname-$pkgver.tar.gz)
 url="http://www.karlrunge.com/x11vnc/"
-source=("http://x11vnc.sourceforge.net/dev/$pkgname-$pkgver.tar.gz")
-depends=('openssl' 'libjpeg' 'zlib' 'libx11' 'libxtst' 'libxinerama' 'libxdamage' 'libxrandr' 'avahi')
+source=("http://downloads.sourceforge.net/libvncserver/${pkgname}-${pkgver}.tar.gz")
+depends=('openssl' 'libjpeg' 'zlib' 'libx11' 'libxtst' 'libxinerama'
+         'libxdamage' 'libxrandr' 'avahi' 'recordproto')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure
+
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --mandir=/usr/share/man
   make || return 1
-  make prefix=$startdir/pkg/usr install || return 1
+
+}
+
+package() {
+
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make prefix=${pkgdir}/usr install || return 1
+
 }
-md5sums=('874008821a0588a73ec7fbe09b747bb0')
+md5sums=('1498a68d02aa7b6c97bf746c073c8d00')
-- 
cgit v0.12


From 2f3f600f377fbc7ed2d641afcc8bf3fd16376470 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Fri, 5 Aug 2011 00:00:41 +0000
Subject: libxtst: Recompile due to missing header

---
 abs/core/libxtst/PKGBUILD | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/abs/core/libxtst/PKGBUILD b/abs/core/libxtst/PKGBUILD
index bcdf92d..be55b65 100644
--- a/abs/core/libxtst/PKGBUILD
+++ b/abs/core/libxtst/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 97591 2010-10-31 16:11:54Z jgc $
+# $Id$
 # Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=libxtst
 pkgver=1.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="X11 Testing -- Resource extension library"
 arch=(i686 x86_64)
 url="http://xorg.freedesktop.org/"
@@ -18,6 +18,10 @@ build() {
   cd "${srcdir}/libXtst-${pkgver}"
   ./configure --prefix=/usr --disable-static
   make
+}
+
+package() {
+  cd "${srcdir}/libXtst-${pkgver}"
   make DESTDIR="${pkgdir}" install
 
   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-- 
cgit v0.12

