aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt5-websockets/APKBUILD
blob: a22e7b10d1852dbde97d736d90ff0cfe210c9359 (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
36
37
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=qt5-websockets
pkgver=5.6.1_p1
_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/5.6/$_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
}

md5sums="d4764fddef9899c148cbe58535dbd003  qtwebsockets-opensource-src-5.6.1-1.tar.xz"
sha256sums="34620ca34ca580802509b2fb3e9eb843d5ad11416d6a211400ac7f700aeae0bb  qtwebsockets-opensource-src-5.6.1-1.tar.xz"
sha512sums="74a31e814284ab54c63b61eb388879b6b6df471d4479c4a1615794683bc916cb0e1c49c1a2840ebcb62283f271f49f35564ec39d5e51837efcac82d3f8256adf  qtwebsockets-opensource-src-5.6.1-1.tar.xz"