36 lines
817 B
Bash
36 lines
817 B
Bash
#!/usr/bin/env bash
|
|
name='qt6-5compat'
|
|
release='5'
|
|
version='6.11.1'
|
|
url='https://www.qt.io'
|
|
description='Module that contains unsupported Qt 5 APIs'
|
|
email='brkt8khn@gmailmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('GPLv3')
|
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qt5compat-everywhere-src-${version}.tar.xz")
|
|
depends=(icu qt6-base qt6-shadertools)
|
|
makedepends=(ninja qt6-declarative)
|
|
sha256sums=('cfcb9fdaa051aad54b0e61b24ac5693b4887a86e07609f665fea67328a6f161b')
|
|
group=(dev.qt)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd "qt5compat-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
|
|
}
|