aports/community/plasma-nano/APKBUILD
2025-05-09 06:12:35 +00:00

46 lines
1.2 KiB
Text

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-plasma
maintainer="team/kde <bribbers@disroot.org>"
pkgname=plasma-nano
pkgver=6.3.5
pkgrel=0
pkgdesc="A minimal Plasma shell package intended for embedded devices"
# armhf blocked by qt6-qtdeclarative
arch="all !armhf"
url="https://invent.kde.org/kde/plasma-nano"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
makedepends="
extra-cmake-modules
kitemmodels-dev
kwayland-dev
kwindowsystem-dev
libplasma-dev
qt6-qtbase-dev
qt6-qtdeclarative-dev
samurai
"
case "$pkgver" in
*.*.9*) _rel=unstable;;
*) _rel=stable;;
esac
_repo_url="https://invent.kde.org/plasma/plasma-nano.git"
source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-nano-$pkgver.tar.xz"
options="!check" # No tests
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="
dd00367f6a95c68d270457158c05dfd73917fbceb1ae83a65025e99bf1371401aeaf15d3f1eb3875b493180113602b9463672c62caf11abdaaee6c845ae1fcf5 plasma-nano-6.3.5.tar.xz
"