pmaports/temp/plasma-nano/APKBUILD

32 lines
1.1 KiB
Text
Raw Normal View History

2019-09-30 07:55:48 +00:00
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-nano
pkgver=5.19.0_git20200605
2019-09-30 07:55:48 +00:00
pkgrel=0
_commit="3cd021537cbf4f24842f38698b54faab5b7d997f"
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="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() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
2019-09-30 07:55:48 +00:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
2019-09-30 07:55:48 +00:00
}
check() {
cd build
2019-09-30 07:55:48 +00:00
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
2019-09-30 07:55:48 +00:00
}
sha512sums="e423fab257f03dd02233daade7b67f202336f5f1604059bf505ac26b4e726b36446804ee115f41754c552d4220db09e4bfb929b35fd190511dcbf3a698c5461d plasma-nano-3cd021537cbf4f24842f38698b54faab5b7d997f.tar.gz"