1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
8 pkgdesc="Cross-platform C libraries that allow you to easily implement VNC server or client functionality"
10 url="https://libvnc.github.io/"
12 depends=('libpng' 'libjpeg' 'gnutls' 'libgcrypt' 'openssl' 'libnsl')
13 makedepends=('sdl2' 'cmake')
14 source=("https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${pkgver}.tar.gz")
15 sha256sums=('0ae5bb9175dc0a602fe85c1cf591ac47ee5247b87f2bf164c16b05f87cbfa81a')
18 cd $pkgname-LibVNCServer-$pkgver
19 cmake -DCMAKE_INSTALL_PREFIX=/usr .
24 cd $pkgname-LibVNCServer-$pkgver
25 make DESTDIR="$pkgdir" install