40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-nano
|
|
pkgver=0_git20191120
|
|
pkgrel=0
|
|
_commit="06775270c31ce173a4a42a16c2ebb84e4544385e"
|
|
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"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
mkdir "$builddir"/build
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"/build
|
|
cmake "$builddir" \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"/build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"/build
|
|
DESTDIR="$pkgdir" make install
|
|
}
|
|
sha512sums="6f168f27fcdabcf7f3b93de351df1d1dbfb559f0d5b23a11f37389688de0d61a91486ac05fe84029a452f1b28d19af01a0f59a3cdb21c63a7dc68f7a0efab6c6 plasma-nano-06775270c31ce173a4a42a16c2ebb84e4544385e.tar.gz"
|