pmaports/kde/kclock/APKBUILD
Oliver Smith 35015139f3
*/*: disable armv7 for plasma programs
"plasma" and some related packages are currently missing in Alpine edge
armv7 due to a cyclic dependency. Let's disable all packages depending
on plasma for armv7 temporarily, to get the pmOS edge armv7 repo up
again.
[ci:skip-build], [ci:skip-vercheck]: only arch line changed

Related: build.postmarketos.org#72
2020-07-29 12:19:04 +02:00

28 lines
1.1 KiB
Text

# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kclock
pkgver=0_git20200618
pkgrel=0
_commit="608247addaf4e6666c9985c82eb0b73aa6840310"
pkgdesc="Clock app for Plasma Mobile"
url="https://invent.kde.org/plasma-mobile/koko"
arch="all !armhf !armv7" # armhf: pmaports#75, armv7: build.postmarketos.org#72
license="LicenseRef-KDE-Accepted-GPL"
depends="kirigami2 kirigami-addons"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kconfig-dev kirigami2-dev ki18n-dev kcoreaddons-dev kconfig-dev knotifications-dev kdbusaddons-dev"
source="https://invent.kde.org/plasma-mobile/kclock/-/archive/$_commit/kclock-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="a3b63cace341c6ece2cd79df47c86c741b113e0d556ff8b427314d7bea1043d7b310007808fa8c7e03bd82fd063953cc53835cc9ad6d4f6fbb0dec48f81fec61 kclock-608247addaf4e6666c9985c82eb0b73aa6840310.tar.gz"