pmaports/kde/kdoctools/APKBUILD

34 lines
929 B
Text
Raw Normal View History

pkgname=kdoctools
pkgver=5.37.0
pkgrel=1
pkgdesc='Documentation generation from docbook'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="karchive docbook-xsl"
makedepends="extra-cmake-modules ki18n-dev python perl-uri karchive-dev docbook-xsl libxslt-dev
libxml2-dev qt5-qtbase-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
prepare() {
mkdir -p $srcdir/build
}
build() {
cd $srcdir/build
cmake "$srcdir"/${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="2f3deb54e186eb1efe94b89886d9bd48b035a41754625309ba886b41c467ece6fdf5f3aaf7549df3bc36dae3f3aa1e1982c69342c019410ffa8a5aead0b277a0 kdoctools-5.37.0.tar.xz"