# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=kolourpaint pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="http://www.kolourpaint.org/" pkgdesc="An easy-to-use paint program" license="BSD-2-Clause AND LGPL-2.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules kdelibs4support-dev kdoctools-dev kguiaddons-dev ki18n-dev kiconthemes-dev kio-dev kitemmodels-dev ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev libksane-dev qt5-qtbase-dev samurai " _repo_url="https://invent.kde.org/graphics/kolourpaint.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kolourpaint-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 3953382443b73883446cbddce4412fbc87d2cc090f061ef7c4fe6707774cc3cbc9c8c0ba1fc29457990aed34a8a76e40074f9a9f927a8fb3be90c9d6415b093a kolourpaint-23.04.3.tar.xz "