mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:47:13 +08:00
0003c19031
use [@] to get the full array entries, without that only the first element was retrieved
41 lines
821 B
Bash
41 lines
821 B
Bash
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
source ../frameworks.conf
|
|
|
|
pkgname=kguiaddons
|
|
pkgver=${KFVersion}
|
|
pkgrel=1
|
|
pkgdesc='Higher level user interface components for common tasks'
|
|
arch=('x86_64')
|
|
url='https://projects.kde.org/projects/frameworks/kguiaddons'
|
|
license=('LGPL')
|
|
depends=("qt5-base" "qt5-x11extras")
|
|
makedepends=("extra-cmake-modules>=${KFECMVersion}")
|
|
checkdepends=('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}
|
|
make
|
|
}
|
|
|
|
# check() {
|
|
# cd build
|
|
# xvfb-run make test
|
|
# }
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|