core/plasma-framework/PKGBUILD

40 lines
1019 B
Bash
Raw Normal View History

2014-01-19 07:03:44 +08:00
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=plasma-framework
2014-06-22 18:01:03 +08:00
pkgver=${KFVersion}
2014-06-22 23:55:22 +08:00
pkgrel=2
2014-01-19 07:03:44 +08:00
pkgdesc='Plasma library and runtime components based upon KF5 and Qt5'
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/playground/libs/plasma-framework'
license=('LGPL')
depends=('qt5-quickcontrols' 'kidletime' 'kitemmodels' 'threadweaver'
2014-06-22 18:01:03 +08:00
'kwallet' 'kdeclarative' 'kunitconversion'
'kross' 'kdnssd' 'kinit'
2014-06-22 23:55:22 +08:00
'kactivities-frameworks' 'kdoctools')
2014-01-19 07:03:44 +08:00
makedepends=('extra-cmake-modules' 'git' 'qt5-tools')
optdepends=('kde-workspace: provide a Plasma shell')
options=("debug")
2014-06-22 18:01:03 +08:00
source=("${KFServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname}) )
2014-01-19 07:03:44 +08:00
prepare() {
mkdir -p build
}
build() {
cd build
2014-06-22 18:01:03 +08:00
cmake ../${pkgname}-${pkgver} \
2014-01-19 07:03:44 +08:00
-DCMAKE_BUILD_TYPE=${KFBuildType} \
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
-DLIB_INSTALL_DIR=lib
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}