41 lines
960 B
Bash
41 lines
960 B
Bash
|
# Maintainer: Danct12 <danct12@disroot.org>
|
||
|
# Contributor: Devin Lin <devin@kde.org>
|
||
|
pkgname=plasma-nano
|
||
|
pkgver=6.1.2
|
||
|
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")
|
||
|
sha256sums=('63de451ccf182f5d9c500530c771745b013ceed73f9fdef5115a8ca646b9cab7')
|
||
|
|
||
|
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
|
||
|
}
|
||
|
|