aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt5-websockets/APKBUILD
blob: f7a3411057f5180de6e578ee05f5ce95b2f0fb77 (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
34
35
# 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"
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="9d56c50a604bbb2c0fbf25e9761cffb5c271678344a198da0f5014a6fe9f48fd50f31b39ee5aa8ff140827abfe0071f334ac4f8f37f09f6946e19f5fe15b56ec  qtwebsockets-opensource-src-5.9.1.tar.xz"