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.18.80_git20200215
2019-09-30 07:55:48 +00:00
pkgrel=0
_commit="c1c57efa066baf81f0ad6bea16637d4f0c76c854"
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="$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 \
2019-09-30 07:55:48 +00:00
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make -C build
2019-09-30 07:55:48 +00:00
}
check() {
cd "$builddir"/build
2019-09-30 07:55:48 +00:00
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make -C build install
2019-09-30 07:55:48 +00:00
}
sha512sums="80c355fa7941478b510eadd445cc3098cb74ab894fc168b83f5fbef5a747852cbdfe4d99923826fe12d2cb08da8966821accab8792e6a2e943472a27311a1e47 plasma-nano-c1c57efa066baf81f0ad6bea16637d4f0c76c854.tar.gz"