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

36 lines
808 B
Bash

#!/usr/bin/env bash
name='qt6-networkauth'
release='4'
version='6.9.1'
url='https://www.qt.io/'
description='Network authentication module'
email='brkt8khn@gmailmail.com'
maintainer='brkt8khn'
license=('FDL' 'GPL3' 'LGPL3' 'custom')
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtnetworkauth-everywhere-src-${version}.tar.xz")
depends=(qt6-base)
makedepends=(cmake ninja)
sha256sums=('7fadb15b372235546f1585145fd5dbb5d1177d041ef692b0ea232935387339cb')
group=(dev.qt)
uses=()
arch=('x86_64')
cd "qtnetworkauth-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
}