core/kapidox/PKGBUILD
AlmAck ae0046ec8a remove _url and incorporate everything in the pkg.
the kdeupdate script is able to update the sha256sums automatically
2018-06-11 23:22:38 +02:00

36 lines
922 B
Bash

# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=kapidox
pkgver=5.47.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>=$KFECMVersion" 'qt5-base')
groups=('kf5')
options=("debug")
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=('7893e0b0fc41f35b9b49c1603a5eb3ffc12ae73b13aad53a9455636e5d5153fc'
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
}