32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-nano
|
|
pkgver=5.18.80_git20200215
|
|
pkgrel=0
|
|
_commit="c1c57efa066baf81f0ad6bea16637d4f0c76c854"
|
|
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() {
|
|
cmake -B "$builddir"/build \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make -C build
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"/build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" make -C build install
|
|
}
|
|
sha512sums="80c355fa7941478b510eadd445cc3098cb74ab894fc168b83f5fbef5a747852cbdfe4d99923826fe12d2cb08da8966821accab8792e6a2e943472a27311a1e47 plasma-nano-c1c57efa066baf81f0ad6bea16637d4f0c76c854.tar.gz"
|