plasma-mobile-arch/plasma-nano/PKGBUILD

41 lines
900 B
Bash
Raw Normal View History

2024-08-09 15:36:42 +02:00
# Maintainer: Danct12 <danct12@disroot.org>
# Contributor: Devin Lin <devin@kde.org>
pkgname=plasma-nano
2024-08-09 17:08:48 +02:00
pkgver=6.1.4
2024-08-09 15:36:42 +02:00
pkgrel=1
pkgdesc="A minimal plasma shell package intended for embedded devices."
arch=(x86_64 i686 i486 pentium4 arm armv6h armv7h aarch64)
url="https://invent.kde.org/plasma/plasma-nano"
license=('GPL2')
groups=()
depends=(
plasma-workspace
kwindowsystem
ki18n
kservice
kitemmodels
qt6-svg
)
makedepends=('cmake' 'extra-cmake-modules')
source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz")
2024-08-09 17:08:48 +02:00
sha256sums=('SKIP')
2024-08-09 15:36:42 +02:00
prepare() {
mkdir -p build
}
build() {
cmake -B build -S "${pkgname}-${pkgver}" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DCMAKE_BUILD_TYPE=Release
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}