pmaports/kde/kdoctools/APKBUILD
Bart Ribbers 5b0c90e31e Update KDE Frameworks to 5.42.0 (#1164)
Fixes #979: Top drawer and background missing on first boot
2018-01-24 23:23:36 +00:00

35 lines
1,005 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdoctools
pkgver=5.42.0
pkgrel=0
pkgdesc='Documentation generation from docbook'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL-2.1"
depends="docbook-xsl"
depends_dev="qt5-qtbase-dev ki18n-dev karchive-dev libxslt-dev libxml2-dev libxml2-utils docbook-xml docbook-xsl"
makedepends="$depends_dev extra-cmake-modules perl-uri"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
subpackages="$pkgname-dev $pkgname-doc"
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="${pkgdir}" install
}
sha512sums="347fb09e2e13bdffb1d1daff145eb1f19f563efd121dcb946576bbcb27a761b4ae8575a12e1a378a1fc0151e02b825dac144a2e19c6214ede6954a8c8ef7850e kdoctools-5.42.0.tar.xz"