archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libvncserver / repos / extra-x86_64 / PKGBUILD
blobc39dceb03512676a48afc33229b845e83a0fee51
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
5 pkgname=libvncserver
6 pkgver=0.9.14
7 pkgrel=2
8 pkgdesc="Cross-platform C libraries that allow you to easily implement VNC server or client functionality"
9 arch=('x86_64')
10 url="https://libvnc.github.io/"
11 license=('GPL')
12 depends=('gnutls' 'libgcrypt' 'libjpeg' 'libpng' 'lzo' 'openssl')
13 makedepends=('sdl2' 'cmake')
14 source=("https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${pkgver}.tar.gz")
15 sha256sums=('83104e4f7e28b02f8bf6b010d69b626fae591f887e949816305daebae527c9a5')
17 build() {
18   cd $pkgname-LibVNCServer-$pkgver
19   cmake -DCMAKE_INSTALL_PREFIX=/usr .
20   make
23 package() {
24   cd $pkgname-LibVNCServer-$pkgver
25   make DESTDIR="$pkgdir" install