Files
binary-repo/dev/qt/qt6-positioning/ympbuild
T
2024-04-09 22:46:20 +03:00

35 lines
918 B
Bash

#!/usr/bin/env bash
name='qt6-positioning'
release='2'
version='6.7.0'
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=('1d601ba43c26c8a01db81eeaaeea5943c015da98caa59d7905b86e0e9d609ddf')
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
}