blob: 7c40978c6a56b62e18b180c2b3c044331ae79866 (
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
32
33
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=qt5-websockets
pkgver=5.9.1
_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"
makedepends="$depends_dev qt5-qtbase-dev"
subpackages="$pkgname-dev"
options="!check"
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 ..
make
}
package() {
cd "$builddir"/build
make INSTALL_ROOT="$pkgdir" install
}
sha512sums="9d56c50a604bbb2c0fbf25e9761cffb5c271678344a198da0f5014a6fe9f48fd50f31b39ee5aa8ff140827abfe0071f334ac4f8f37f09f6946e19f5fe15b56ec qtwebsockets-opensource-src-5.9.1.tar.xz"
|