# Contributor: Bart Ribbers # Maintainer: Bart Ribbers # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-other pkgname=futuresql pkgver=0.1.1 pkgrel=1 pkgdesc="Non-blocking Qt database framework" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://invent.kde.org/libraries/futuresql/" license="LGPL-2.0-or-later AND GPL-2.0-or-later" depends_dev=" qcoro-dev qt5-qtbase-dev " makedepends=" $depends_dev extra-cmake-modules samurai " subpackages="$pkgname-dev" _repo_url="https://invent.kde.org/libraries/futuresql.git" source="https://download.kde.org/stable/futuresql/futuresql-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING="$(want_check && echo ON || echo OFF)" cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" ce9cd927c6da3ca7351640cc2c36854c1a728ec5c24517e61772e3571d56bcaa2221cfe05127f78554bd9d2b2d72bd46e911834c9fb1e9b89bd96b84b39bda16 futuresql-0.1.1.tar.xz "