2019-09-30 07:55:48 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=plasma-nano
|
2020-02-19 09:32:24 +00:00
|
|
|
pkgver=5.18.80_git20200215
|
2019-09-30 07:55:48 +00:00
|
|
|
pkgrel=0
|
2020-02-19 09:32:24 +00:00
|
|
|
_commit="c1c57efa066baf81f0ad6bea16637d4f0c76c854"
|
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"
|
|
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/plasma-nano/-/archive/$_commit/plasma-nano-$_commit.tar.gz"
|
|
|
|
options="!check" # No tests
|
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
|
|
|
|
build() {
|
2020-02-11 13:33:26 +00:00
|
|
|
cmake -B "$builddir"/build \
|
2019-09-30 07:55:48 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2020-02-11 13:33:26 +00:00
|
|
|
make -C build
|
2019-09-30 07:55:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2019-12-06 17:52:47 +00:00
|
|
|
cd "$builddir"/build
|
2019-09-30 07:55:48 +00:00
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-02-11 13:33:26 +00:00
|
|
|
DESTDIR="$pkgdir" make -C build install
|
2019-09-30 07:55:48 +00:00
|
|
|
}
|
2020-02-19 09:32:24 +00:00
|
|
|
sha512sums="80c355fa7941478b510eadd445cc3098cb74ab894fc168b83f5fbef5a747852cbdfe4d99923826fe12d2cb08da8966821accab8792e6a2e943472a27311a1e47 plasma-nano-c1c57efa066baf81f0ad6bea16637d4f0c76c854.tar.gz"
|