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

25 lines
957 B
Bash

# $Id: PKGBUILD 43932 2009-06-30 07:12:13Z allan $
# Maintainer: damir <damir@archlinux.org>
pkgname=x11vnc
pkgver=0.9.7
pkgrel=2
pkgdesc="A VNC server for real X displays"
arch=("i686" "x86_64")
url="http://www.karlrunge.com/x11vnc/"
license=("GPL2")
depends=('openssl' 'libjpeg>=7' 'zlib' 'libx11' 'libxtst' 'libxinerama' 'libxdamage' 'libxrandr' 'avahi')
backup=('etc/conf.d/x11vnc')
source=(http://downloads.sourceforge.net/sourceforge/libvncserver/$pkgname-$pkgver.tar.gz \
x11vnc.rc x11vnc.conf)
md5sums=('30a167577f657909b3355421e14e2ddb' '93fc00459cfa5fe76f07045ee89bd6d4'\
'3a6df4b01c7f02741904b978bb7bcd90')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
install -D -m 755 $srcdir/x11vnc.rc $pkgdir/etc/rc.d/x11vnc || return 1
install -D -m 644 $srcdir/x11vnc.conf $pkgdir/etc/conf.d/x11vnc || return 1
}