mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 08:12:06 +01:00
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: team/kde <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-applications
|
|
pkgname=poxml
|
|
pkgver=23.08.3
|
|
pkgrel=0
|
|
arch="all !armhf !riscv64"
|
|
url="https://www.kde.org/applications/development/"
|
|
pkgdesc="Translates DocBook XML files using gettext po files"
|
|
license="GPL-2.0-or-later AND GFDL-1.2-only"
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev kdoctools5-dev gettext-dev samurai"
|
|
_repo_url="https://invent.kde.org/sdk/poxml.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/poxml-$pkgver.tar.xz"
|
|
subpackages="$pkgname-doc"
|
|
|
|
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="
|
|
d0dab3fadbcc4496a405616ff95d6d5193c8e841ebf5ae2b6b83a7f4bfc544cd90079bb64d7c3a3e22a2eca8d5e16a2deae51f24b49904ce0651751d05651c00 poxml-23.08.3.tar.xz
|
|
"
|