APKBUILD 987 Bytes
Newer Older
1 2 3
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=qt5-websockets
4
pkgver=5.9.1
5 6 7 8 9 10
_ver=${pkgver/_p/-}
_ver=${_ver/_/-}
_ver=${_ver/beta0/beta}
_ver=${_ver/rc0/rc}
_V=${_ver/rc/RC}
pkgrel=0
11 12 13 14
pkgdesc="Provides WebSocket communication compliant with RFC 6455"
url="http://qt-project.org/"
arch="all"
license="GPL3"
15
depends=""
16
depends_dev=""
17
makedepends="$depends_dev qt5-qtbase-dev"
18 19
install=""
subpackages="$pkgname-dev"
20
source="http://download.qt.io/official_releases/qt/${pkgver%.*}/$_ver/submodules/qtwebsockets-opensource-src-$_ver.tar.xz"
21
builddir="$srcdir"/qtwebsockets-opensource-src-${_V%-*}
22 23 24 25 26 27 28 29 30 31 32 33 34

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
}

35
sha512sums="9d56c50a604bbb2c0fbf25e9761cffb5c271678344a198da0f5014a6fe9f48fd50f31b39ee5aa8ff140827abfe0071f334ac4f8f37f09f6946e19f5fe15b56ec  qtwebsockets-opensource-src-5.9.1.tar.xz"