# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=qmlkonsole pkgver=23.04.3 pkgrel=1 pkgdesc="Terminal app for Plasma Mobile" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://invent.kde.org/plasma-mobile/qmlkonsole" license="GPL-3.0-or-later" depends=" qmltermwidget kirigami-addons kirigami2 " makedepends=" extra-cmake-modules ki18n-dev kirigami-addons-dev kirigami2-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtsvg-dev samurai " _repo_url="https://invent.kde.org/plasma-mobile/qmlkonsole.git" source="https://download.kde.org/stable/release-service/$pkgver/src/qmlkonsole-$pkgver.tar.xz" options="!check" # No tests _commit="" snapshot() { clean makedepends="git xz rsync tar" deps mkdir -p "$srcdir" && cd "$srcdir" git clone --filter=tree:0 $_repo_url . git archive --format tar --prefix=$pkgname/ $_commit > ../$pkgname-$_commit.tar xz -vv -T0 -9 -e ../$pkgname-$_commit.tar } build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 5d03a6294b1800e7a8f6bfb1723c5cc7efb03f0d1a2e416db83c8e726e8efe8780623fcc572494549fedd95d41759225da21cba254863e8a4ee46ed0de508f8a qmlkonsole-23.04.3.tar.xz "