# Contributor: Andrea Scarpino source ../frameworks.conf pkgname=kpackage pkgver=${KFVersion} pkgrel=1 pkgdesc='Framework that lets applications manage user installable packages of non-binary assets' arch=('x86_64') url='https://projects.kde.org/projects/frameworks/kpackage' license=('LGPL') depends=('karchive' 'ki18n' 'kcoreaddons' 'kconfig') makedepends=("extra-cmake-modules>=${KFECMVersion}" 'qt5-tools' 'python3' 'kdoctools') checkdepends=("cmake") groups=('kf5') options=("debug") source=("${KFServer}/${pkgname}-${pkgver}.tar.xz") sha256sums=( $(getSum ${pkgname}) ) prepare() { mkdir -p build } build() { cd build cmake_kf5 ../${pkgname}-${pkgver} \ -DPYTHON_EXECUTABLE=/usr/bin/python3 make } check() { cd build make test || return 0 } package() { cd build make DESTDIR="${pkgdir}" install }