[arch-commits] Commit in libvncserver/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Jan 20 12:25:14 UTC 2019


    Date: Sunday, January 20, 2019 @ 12:25:13
  Author: felixonmars
Revision: 344531

upgpkg: libvncserver 0.9.12-1

Modified:
  libvncserver/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-20 12:20:23 UTC (rev 344530)
+++ PKGBUILD	2019-01-20 12:25:13 UTC (rev 344531)
@@ -3,25 +3,24 @@
 # Contributor: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=libvncserver
-pkgver=0.9.11
-pkgrel=3
+pkgver=0.9.12
+pkgrel=1
 pkgdesc="Cross-platform C libraries that allow you to easily implement VNC server or client functionality"
 arch=('x86_64')
 url="https://libvnc.github.io/"
 license=('GPL')
 depends=('libpng' 'libjpeg' 'gnutls' 'libgcrypt' 'openssl' 'libnsl')
-makedepends=('sdl')
+makedepends=('sdl2' 'cmake')
 source=("https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${pkgver}.tar.gz")
-sha256sums=('193d630372722a532136fd25c5326b2ca1a636cbb8bf9bb115ef869c804d2894')
+sha256sums=('33cbbb4e15bb390f723c311b323cef4a43bcf781984f92d92adda3243a116136')
 
 build() {
-  cd ${pkgname}-LibVNCServer-${pkgver}
-  ./autogen.sh
-  ./configure --prefix=/usr
+  cd $pkgname-LibVNCServer-$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX=/usr .
   make
 }
 
 package() {
-  cd ${pkgname}-LibVNCServer-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  cd $pkgname-LibVNCServer-$pkgver
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list