pmaports/kde/kclock/APKBUILD

29 lines
1.1 KiB
Text
Raw Normal View History

2020-06-18 08:43:47 +00:00
# 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" # armhf blocked by qt5-qtdeclarative
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"