core/plasma-framework/PKGBUILD

39 lines
929 B
Bash
Raw Normal View History

2014-11-15 06:35:29 +08:00
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=plasma-framework
pkgver=${KFVersion}
pkgrel=1
pkgdesc='Plasma library and runtime components based upon KF5 and Qt5'
arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/plasma-framework'
license=('LGPL')
2015-01-13 12:51:39 +08:00
depends=('qt5-quickcontrols' 'kactivities-frameworks' 'kpackage')
2014-11-15 06:49:31 +08:00
makedepends=("extra-cmake-modules>=${KFECMVersion}" 'qt5-tools' 'kdoctools')
2014-11-15 06:35:29 +08:00
options=("debug")
groups=('kf5')
source=("${KFServer}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DQML_INSTALL_DIR=lib/qt/qml \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make
2014-11-15 06:35:29 +08:00
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}