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

44 lines
1.1 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=libkeduvocdocument
pkgver=25.04.0
pkgrel=0
arch="all !armhf"
url="https://edu.kde.org"
pkgdesc="Library to parse, convert, and manipulate KVTML files"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="
extra-cmake-modules
karchive-dev
ki18n-dev
kio-dev
qt6-qtbase-dev
samurai
"
_repo_url="https://invent.kde.org/education/libkeduvocdocument.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/libkeduvocdocument-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
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
}
check() {
ctest --test-dir build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
8af7fed25acc5cbdb720a11aa92b1791484e0e0235b2e96d9aae3cb1dc615bedd343c96cf32141048232da826c31211a9207b113a896bdea06f040d02e91ffb6 libkeduvocdocument-25.04.0.tar.xz
"