mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:57:14 +08:00
39 lines
742 B
Bash
39 lines
742 B
Bash
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
source ../frameworks.conf
|
|
|
|
pkgname=kross
|
|
pkgver=${KFVersion}
|
|
pkgrel=1
|
|
pkgdesc='Multi-language application scripting'
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/frameworks/kross'
|
|
license=('LGPL')
|
|
depends=('kparts')
|
|
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'kdoctools' 'qt5-tools')
|
|
checkdepends=('xorg-server-xvfb')
|
|
groups=('kf5-aids')
|
|
options=("debug")
|
|
source=("${KFServer}/portingAids/${pkgname}-${pkgver}.tar.xz")
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
# check() {
|
|
# cd build
|
|
# xvfb-run make test
|
|
# }
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|