PKGBUILDs/extra/vnc/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
919 B
Bash

# $Id: PKGBUILD 27820 2009-02-26 08:05:49Z eric $
# Contributor: Gregor Ibic <gregor.ibic@intelicom.si>
# Maintainer: damir <damir@archlinux.org>
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
}