mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 19:27:25 +08:00
42 lines
861 B
Bash
42 lines
861 B
Bash
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
source ../frameworks.conf
|
|
|
|
pkgname=kcmutils
|
|
pkgver=${KFVersion}
|
|
pkgrel=2
|
|
pkgdesc='Utilities for interacting with KCModules'
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/frameworks/kcmutils'
|
|
license=('LGPL')
|
|
depends=('kxmlgui' 'kdeclarative')
|
|
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'python3')
|
|
checkdepends=("cmake" "xorg-server-xvfb")
|
|
groups=('kf5')
|
|
options=("debug")
|
|
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
sha256sums=( $(getSum ${pkgname})
|
|
SKIP)
|
|
validpgpkeys=( ${KFvalidpgpkeys[@]} )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver} \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3
|
|
make
|
|
}
|
|
|
|
# check() {
|
|
# cd build
|
|
# xvfb-run make test
|
|
# }
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|