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-07-08 13:46:41 +00:00
|
|
|
pkgver=5.19.3_git20200705
|
2020-06-27 16:34:17 +00:00
|
|
|
pkgrel=0
|
2020-07-08 13:46:41 +00:00
|
|
|
_commit="06dc6f3fea3d30efa009be2561ffeb0f3e01af77"
|
2019-09-30 07:55:48 +00:00
|
|
|
pkgdesc="A minimal Plasma shell package intended for embedded devices"
|
2020-07-29 10:15:11 +00:00
|
|
|
arch="all !armhf !armv7" # armhf: pmaports#75, armv7: build.postmarketos.org#72
|
2020-07-08 13:46:41 +00:00
|
|
|
url="https://invent.kde.org/plasma/plasma-nano"
|
2019-09-30 07:55:48 +00:00
|
|
|
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-07-08 13:46:41 +00:00
|
|
|
source="https://invent.kde.org/plasma/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-07-08 13:46:41 +00:00
|
|
|
sha512sums="9aad62ff0d8b65e845211841bad25ba60142ab3a643329a084baa5f71ff13269260ecad290bdb72ff4c15607fcb2c5775f340318468b9527ea9473b723f2e4c3 plasma-nano-06dc6f3fea3d30efa009be2561ffeb0f3e01af77.tar.gz"
|