blob: 0425330aa12cebb7cfeebd3ec0be313ee3a5675a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: User8395 <therealuser8395@proton.me>
pkgname=plasma-nano-git
pkgver=r444.a0b1d18
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-git
kwindowsystem-git
ki18n-git
kservice-git
kitemmodels-git
qt6-svg
)
makedepends=('cmake' 'extra-cmake-modules')
conflicts=('plasma-nano')
source=('git+https://invent.kde.org/plasma/plasma-nano.git')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir"
printf "r%s.%s\n" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
cmake -B build -S "plasma-nano" \
-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
}
|