# Contributor: Carlo Landmeter # Maintainer: pkgname=qt5-websockets pkgver=5.8.0 _ver=${pkgver/_p/-} _ver=${_ver/_/-} _ver=${_ver/beta0/beta} _ver=${_ver/rc0/rc} _V=${_ver/rc/RC} pkgrel=0 pkgdesc="Provides WebSocket communication compliant with RFC 6455" url="http://qt-project.org/" arch="all" license="GPL3" depends="" depends_dev="" makedepends="$depends_dev qt5-qtbase-dev" install="" subpackages="$pkgname-dev" source="http://download.qt.io/official_releases/qt/${pkgver%.*}/$_ver/submodules/qtwebsockets-opensource-src-$_ver.tar.xz" builddir="$srcdir"/qtwebsockets-opensource-src-${_V%-*} build() { cd "$builddir" mkdir build && cd build qmake-qt5 .. || return 1 make || return 1 } package() { cd "$builddir"/build make INSTALL_ROOT="$pkgdir" install || return 1 } sha512sums="c0e027287fa182d4f491a32d6d3286cc8b42cb4bc25d0631af765c84b0b2a1d61ebdd1819534f711b806d98c07f3e56ffa2bd6f0954c9af23f00c0f17abe3a17 qtwebsockets-opensource-src-5.8.0.tar.xz"