31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-nano
|
|
pkgver=5.19.0_git20200605
|
|
pkgrel=0
|
|
_commit="3cd021537cbf4f24842f38698b54faab5b7d997f"
|
|
pkgdesc="A minimal Plasma shell package intended for embedded devices"
|
|
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 qt5-qtbase-dev qt5-qtdeclarative-dev plasma-framework-dev kwindowsystem-dev kwayland-dev"
|
|
source="https://invent.kde.org/kde/plasma-nano/-/archive/$_commit/plasma-nano-$_commit.tar.gz"
|
|
options="!check" # No tests
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --build build --target install
|
|
}
|
|
sha512sums="e423fab257f03dd02233daade7b67f202336f5f1604059bf505ac26b4e726b36446804ee115f41754c552d4220db09e4bfb929b35fd190511dcbf3a698c5461d plasma-nano-3cd021537cbf4f24842f38698b54faab5b7d997f.tar.gz"
|