mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 04:54:38 +08:00
36 lines
915 B
Bash
36 lines
915 B
Bash
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
pkgname=kapidox
|
|
pkgver=5.48.0
|
|
pkgrel=1
|
|
pkgdesc='Frameworks API Documentation Tools'
|
|
arch=('any')
|
|
url='https://projects.kde.org/projects/frameworks/kapidox'
|
|
license=('LGPL')
|
|
depends=('python3-jinja' 'python3-yaml')
|
|
makedepends=("extra-cmake-modules>=5.48.0" 'qt5-base')
|
|
groups=('kf5')
|
|
options=("debug")
|
|
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
sha256sums=('64ad1572e10e7091c93be674c6288002b6b38803d0aa804516d53e4fc1b542ac'
|
|
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 \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|