2019-09-30 07:55:48 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=plasma-nano
|
2019-12-06 17:52:47 +00:00
|
|
|
pkgver=0_git20191120
|
2019-09-30 07:55:48 +00:00
|
|
|
pkgrel=0
|
2019-12-06 17:52:47 +00:00
|
|
|
_commit="06775270c31ce173a4a42a16c2ebb84e4544385e"
|
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"
|
|
|
|
|
2019-12-06 17:52:47 +00:00
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
|
|
|
|
mkdir "$builddir"/build
|
|
|
|
}
|
|
|
|
|
2019-09-30 07:55:48 +00:00
|
|
|
build() {
|
2019-12-06 17:52:47 +00:00
|
|
|
cd "$builddir"/build
|
|
|
|
cmake "$builddir" \
|
2019-09-30 07:55:48 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
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() {
|
2019-12-06 17:52:47 +00:00
|
|
|
cd "$builddir"/build
|
2019-09-30 07:55:48 +00:00
|
|
|
DESTDIR="$pkgdir" make install
|
|
|
|
}
|
2019-12-06 17:52:47 +00:00
|
|
|
sha512sums="6f168f27fcdabcf7f3b93de351df1d1dbfb559f0d5b23a11f37389688de0d61a91486ac05fe84029a452f1b28d19af01a0f59a3cdb21c63a7dc68f7a0efab6c6 plasma-nano-06775270c31ce173a4a42a16c2ebb84e4544385e.tar.gz"
|