summaryrefslogtreecommitdiff
path: root/extra/x11vnc/PKGBUILD
blob: 5a723ce00176e83291658fec3e465003d2efc4d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 202637 2013-12-23 05:41:09Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: damir <damir@archlinux.org>

pkgname=x11vnc
pkgver=0.9.13
pkgrel=5
pkgdesc='VNC server for real X displays'
url='http://www.karlrunge.com/x11vnc/'
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
optdepends=('tk: for GUI support'
            'net-tools: for -auth guess')
depends=('openssl' 'libjpeg' 'libxtst' 'libxinerama' 'libxdamage' 'libxrandr' 'avahi')
source=("http://downloads.sourceforge.net/project/libvncserver/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
        'service')
sha1sums=('f011d81488ac94dc8dce2d88739c23bd85a976fa'
          '53e1ed7f84518a699a29607a03bee2321f9f9624')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr --mandir=/usr/share/man
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
	install -Dm644 ../service "${pkgdir}/usr/lib/systemd/system/x11vnc.service"
	rm -fr "${pkgdir}"/usr/include/rfb # provided by libvncserver
}