35 lines
833 B
Bash
35 lines
833 B
Bash
#!/usr/bin/env bash
|
|
name='qt6-scxml'
|
|
release='3'
|
|
version='6.8.0'
|
|
url='https://www.qt.io/'
|
|
description='Static and runtime integration of SCXML models into Qt code'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('FDL' 'GPL3' 'LGPL3' 'custom')
|
|
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtscxml-everywhere-src-${version}.tar.xz")
|
|
depends=(qt6-base qt6-declarative)
|
|
makedepends=(cmake ninja)
|
|
sha256sums=('bba9aa4ef441b01b2d391486ddccfb09efa378c8a24e6d13e983fc019837b43b')
|
|
group=(dev.qt)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd "qtscxml-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
|
|
} |