#!/usr/bin/env bash name='qt6-positioning' release='4' version='6.9.1' url='https://www.qt.io/' description='Helps you create viable mapping solutions using the data available from some of the popular location services' email='brkt8khn@gmailmail.com' maintainer='brkt8khn' license=('FDL' 'GPL3' 'LGPL3' 'custom') source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtpositioning-everywhere-src-${version}.tar.xz") depends=(qt6-base) makedepends=(qt6-declarative cmake ninja qt6-serialport) sha256sums=('7062734b4989248ca3f0e3e4aebb9aa2e7ed2d6bf19e779e520c6ef69706ff26') group=(dev.qt) uses=() arch=('x86_64') cd "qtpositioning-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 }