mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 05:14:48 +08:00
48 lines
1.2 KiB
Bash
48 lines
1.2 KiB
Bash
# Contributions from Arch:
|
|
# Contributor : Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
|
|
pkgname=kdoctools
|
|
pkgver=5.49.0
|
|
pkgrel=1
|
|
pkgdesc='Various tools to work with documentation'
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/frameworks/kdoctools'
|
|
license=('LGPL')
|
|
depends=('karchive' 'docbook-xsl')
|
|
makedepends=("extra-cmake-modules>=5.49.0" "ki18n" "python3" "perl-uri")
|
|
groups=('kf5')
|
|
options=('staticlibs' 'debug')
|
|
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
sha256sums=('f4e9ffceb9c772e1d98fd3f3e26aa4ff64d64ac3f83e8830d0341c3d0a99b7b6'
|
|
SKIP)
|
|
validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_SYSCONFDIR=/etc \
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
|
-DBUILD_TESTING=OFF \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@" \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
# check() {
|
|
# cd build
|
|
# make test
|
|
# }
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|