2019-09-30 07:55:48 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=plasma-nano
|
2020-06-09 15:38:51 +00:00
|
|
|
pkgver=5.19.0_git20200605
|
2019-09-30 07:55:48 +00:00
|
|
|
pkgrel=0
|
2020-06-09 15:38:51 +00:00
|
|
|
_commit="3cd021537cbf4f24842f38698b54faab5b7d997f"
|
2019-09-30 07:55:48 +00:00
|
|
|
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"
|
2020-06-09 15:38:51 +00:00
|
|
|
source="https://invent.kde.org/kde/plasma-nano/-/archive/$_commit/plasma-nano-$_commit.tar.gz"
|
2019-09-30 07:55:48 +00:00
|
|
|
options="!check" # No tests
|
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
|
|
|
|
build() {
|
2020-06-09 15:38:51 +00:00
|
|
|
cmake -B build \
|
|
|
|
-DCMAKE_BUILD_TYPE=None \
|
2019-09-30 07:55:48 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2020-06-09 15:38:51 +00:00
|
|
|
cmake --build build
|
2019-09-30 07:55:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2020-06-09 15:38:51 +00:00
|
|
|
cd build
|
2019-09-30 07:55:48 +00:00
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-06-09 15:38:51 +00:00
|
|
|
DESTDIR="$pkgdir" cmake --build build --target install
|
2019-09-30 07:55:48 +00:00
|
|
|
}
|
2020-06-09 15:38:51 +00:00
|
|
|
sha512sums="e423fab257f03dd02233daade7b67f202336f5f1604059bf505ac26b4e726b36446804ee115f41754c552d4220db09e4bfb929b35fd190511dcbf3a698c5461d plasma-nano-3cd021537cbf4f24842f38698b54faab5b7d997f.tar.gz"
|