core/kapidox/PKGBUILD
AlmAck b0263e0997 moved away from the source structure
all the PKGBUILDs are now standalone
2018-06-10 21:42:00 +02:00

38 lines
873 B
Bash

# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=kapidox
pkgver=$KFVersion
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=("${KFServer}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=($(curl "$_url.sha256" | cut -c-64)
SKIP)
'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
}