# Maintainer: Danct12 # Contributor: dodgejcr@gmail.com # Contributor: Bhushan Shah pkgname=plasma-mobile pkgver=6.1.4 _dirver=$(echo $pkgver | cut -d. -f1-3) pkgrel=1 pkgdesc="Plasma shell for mobile devices" arch=('x86_64' 'armv7h' 'aarch64') url="https://community.kde.org/Plasma/Mobile" license=('GPL-2.0-or-later AND LGPL-2.1-or-later') depends=( bluez-qt libplasma kirigami-addons milou plasma-nano plasma-nm plasma-pa plasma-workspace=$pkgver ) makedepends=( cmake extra-cmake-modules ) optdepends=('hfd-service: Haptic feedback') replaces=('plasma-phone-components') source=("https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz") install=$pkgname.install sha512sums=('SKIP') build() { cmake -B build -S $pkgname-$pkgver \ -DCMAKE_INSTALL_LIBEXECDIR=lib \ -DBUILD_TESTING=OFF cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build }