aports/community/kolourpaint/APKBUILD
2025-04-24 20:45:31 +02:00

49 lines
1.3 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
maintainer="team/kde <bribbers@disroot.org>"
pkgname=kolourpaint
pkgver=25.04.0
pkgrel=0
# 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
kdoctools-dev
kguiaddons-dev
ki18n-dev
kiconthemes-dev
kio-dev
kitemmodels-dev
ktextwidgets-dev
kwidgetsaddons-dev
kxmlgui-dev
libksane-dev
qt6-qtbase-dev
samurai
"
subpackages="$pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/graphics/kolourpaint.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kolourpaint-$pkgver.tar.xz"
options="!check" # No tests
build() {
cmake -B build -G Ninja \
-DBUILD_WITH_QT6=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
810ccf75a247a5dc1e148a7707e2dda1d647146f5e4d14de832e0fb81bb11766eff543b9d483967d8835a756569395eb3a3ac970c07c43cf073cd3ef08c390ab kolourpaint-25.04.0.tar.xz
"