2020-06-27 16:34:17 +00:00
|
|
|
# Forked from Alpine to package newer commits
|
2019-09-30 07:55:48 +00:00
|
|
|
pkgname=plasma-nano
|
2020-06-27 16:34:17 +00:00
|
|
|
pkgver=5.19.2_git20200625
|
|
|
|
pkgrel=0
|
|
|
|
_commit="5b0c2d1cbf509e926dfd8466300687e62d0f56f6"
|
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-27 16:34:17 +00:00
|
|
|
sha512sums="b034e9d14536774d0174e9cbe1e69929fdd48099f194b38ed78df04bbdeaeae54838e533a1c4b78f0560525dec3edbf005c6e1140c717feb9d32f27c2dd25133 plasma-nano-5b0c2d1cbf509e926dfd8466300687e62d0f56f6.tar.gz"
|