Files
binary-repo/dev/qt/qt6-websockets/ympbuild
T
2025-07-12 16:42:33 +00:00

34 lines
816 B
Bash

#!/usr/bin/env bash
name='qt6-websockets'
release='4'
version='6.9.1'
url='https://www.qt.io/'
description='Provides WebSocket communication compliant with RFC 6455'
email='brkt8khn@gmail.com'
maintainer='brkt8khn'
license=('GPLv3')
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtwebsockets-everywhere-src-${version}.tar.xz")
depends=(qt6-base qt6-declarative)
makedepends=(cmake)
sha256sums=('98be8c863b7f02cc98eedc0b6eac07544c10a9d2fa11c685fd61f6b243f748f5')
group=(dev.qt)
uses=()
arch=('x86_64')
cd "qtwebsockets-everywhere-src-"${version}
export PATH=/usr/bin/qt6:$PATH
setup() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr
}
build () {
cmake --build build
}
package () {
DESTDIR="$DESTDIR" cmake --install build
}