# $Id: PKGBUILD 27820 2009-02-26 08:05:49Z eric $ # Contributor: Gregor Ibic # Maintainer: damir pkgname=vnc pkgver=4.1.3 pkgrel=1 pkgdesc="The original open-source cross-platform remote control solution (without xvnc)" arch=('i686' 'x86_64') url="http://www.realvnc.com" license=('GPL') depends=('gcc-libs' 'libxtst' 'libsm') conflicts=('tightvnc') source=('http://www.realvnc.com/cgi-bin/download.cgi?product=free4/src/unix&filetype=tar_gz&haveDetails=1&acceptLicense=1' vnc-gcc43.diff) md5sums=('a119f3c75ad2767c0588260e2abe39be' '6cda2734352ce274cffcf304dc8a49b3') build() { cd $srcdir/$pkgname-${pkgver//./_}-unixsrc patch -p1 < ../vnc-gcc43.diff || return 1 cd unix ./configure --prefix=/usr || return 1 # making vnc (without Xvnc) make || return 1 install -d $pkgdir/usr/{bin,share/man/man1} ./vncinstall $pkgdir/usr/bin $pkgdir/usr/share/man }