36 lines
841 B
Bash
36 lines
841 B
Bash
#!/usr/bin/env bash
|
|
name='qt6-webview'
|
|
release='3'
|
|
version='6.8.0'
|
|
url='https://www.qt.io/'
|
|
description='Provides a way to display web content in a QML application'
|
|
email='brkt8khn@gmailmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('FDL' 'GPL3' 'LGPL3' 'custom')
|
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtwebview-everywhere-src-${version}.tar.xz")
|
|
depends=(qt6-base qt6-declarative)
|
|
makedepends=(cmake ninja)
|
|
sha256sums=('7cb89d41593876b176368b15c1cded3d5a3c4fdf7e0a10f0c61021e3e8c179f3')
|
|
group=(dev.qt)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd "qtwebview-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
|
|
}
|