mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 22:14:37 +08:00
43 lines
877 B
Bash
43 lines
877 B
Bash
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||
|
|
||
|
source ../frameworks.conf
|
||
|
|
||
|
pkgname=kdesignerplugin
|
||
|
pkgver=${KFVersion}
|
||
|
pkgrel=1
|
||
|
pkgdesc='KDesignerPlugin'
|
||
|
arch=('i686' 'x86_64')
|
||
|
url='https://projects.kde.org/projects/frameworks/kdesignerplugin'
|
||
|
license=('LGPL')
|
||
|
depends=('kio' 'kplotting' 'kdewebkit')
|
||
|
makedepends=('extra-cmake-modules' 'qt5-tools' 'kdoctools')
|
||
|
checkdepends=('cmake')
|
||
|
groups=('kf5')
|
||
|
source=("${KFServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
|
||
|
md5sums=('cb8f73d57ee391c64c51d5549b56093a')
|
||
|
|
||
|
prepare() {
|
||
|
mkdir -p build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
# export XDG_DATA_DIRS="/opt/kf5/share:$XDG_DATA_DIRS"
|
||
|
|
||
|
cd build
|
||
|
cmake ../${pkgname}-${pkgver} \
|
||
|
-DCMAKE_BUILD_TYPE=${KFBuildTyp} \
|
||
|
-DCMAKE_INSTALL_PREFIX=${KFInstalPrefix} \
|
||
|
-DLIB_INSTALL_DIR=lib
|
||
|
make
|
||
|
}
|
||
|
|
||
|
check() {
|
||
|
cd build
|
||
|
make test
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd build
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|