b3edd64831
Also move from kde/ as it's now in the Alpine repos too
32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-nano
|
|
pkgver=5.18.0_git20200211
|
|
pkgrel=0
|
|
_commit="c8ba47a1e5e72bceed69321738c8cbc1b0269832"
|
|
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"
|
|
|
|
build() {
|
|
cmake -B "$builddir"/build \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make -C build
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"/build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" make -C build install
|
|
}
|
|
sha512sums="5a834318ccd35ded6d71502da200e868f71d3e93450b34474f20fff82b7da8e337d2f31f3ac07f3f1b6c72ab478091fb75b23791e5c95b950c14dc1d23481d7b plasma-nano-c8ba47a1e5e72bceed69321738c8cbc1b0269832.tar.gz"
|