2014-06-22 22:33:39 +08:00
|
|
|
source ../plasma.conf
|
|
|
|
|
|
|
|
pkgname=plasma-desktop
|
|
|
|
pkgver=${PVersion}
|
2014-08-13 05:28:08 +08:00
|
|
|
pkgrel=1
|
2014-06-22 22:33:39 +08:00
|
|
|
pkgdesc="Plasma Desktop"
|
2014-10-23 03:29:25 +08:00
|
|
|
arch=('x86_64')
|
2014-06-22 22:33:39 +08:00
|
|
|
url='http://projects.kde.org'
|
|
|
|
license=('LGPL')
|
|
|
|
depends=('qt5-base' 'qt5-declarative' 'qt5-x11extras' 'kwallet' 'krunner' 'kdesu' 'knotifyconfig' 'kdelibs4support' 'kemoticons' 'knewstuff' 'kcmutils' 'kwin' 'plasma-workspace' 'xorg-server')
|
|
|
|
makedepends=('extra-cmake-modules')
|
|
|
|
checkdepends=("cmake")
|
|
|
|
groups=('plasma')
|
|
|
|
options=("debug")
|
2014-10-23 03:29:25 +08:00
|
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
2014-06-22 22:33:39 +08:00
|
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=${PBuildType} \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \
|
|
|
|
-DLIB_INSTALL_DIR=lib
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd build
|
|
|
|
make test || return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|