mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-16 06:10:24 +08:00
36 lines
917 B
Bash
36 lines
917 B
Bash
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
pkgname=kapidox
|
|
pkgver=5.54.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.54.0" 'qt5-base')
|
|
groups=('kf5')
|
|
options=("debug")
|
|
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
sha256sums=('cc90ff22cb810e011e63fa99122fcaa8a60504e2b61f43939fba2af621f3927f'
|
|
'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
|
|
}
|