Date: Saturday, December 21, 2013 @ 14:55:07 Author: andrea Revision: 202375
archrelease: copy trunk to kde-unstable-x86_64 Added: plasma-framework/repos/kde-unstable-x86_64/ plasma-framework/repos/kde-unstable-x86_64/PKGBUILD (from rev 202374, plasma-framework/trunk/PKGBUILD) ----------+ PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) Copied: plasma-framework/repos/kde-unstable-x86_64/PKGBUILD (from rev 202374, plasma-framework/trunk/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2013-12-21 13:55:07 UTC (rev 202375) @@ -0,0 +1,45 @@ +# $Id +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgname=plasma-framework +pkgver=plasma2tp.r3.ga3a9dff +pkgrel=1 +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-quick1' 'kidletime' 'kitemmodels' + 'kwidgetsaddons' 'kcodecs' 'karchive' 'solid' 'threadweaver' + 'kglobalaccel' 'kauth' 'kwallet-framework' 'kguiaddons' + 'kconfigwidgets' 'kitemviews' 'knotifications' 'kiconthemes' + 'kcompletion' 'kjobwidgets' 'sonnet' 'ktextwidgets' 'kxmlgui' + 'kbookmarks' 'kdeclarative' 'kunitconversion' 'kparts' 'kross' + 'kdnssd-framework' 'kde4support' 'kdesignerplugin' 'kinit' + 'kactivities-frameworks') +makedepends=('extra-cmake-modules' 'git' 'qt5-tools') +source=('git://anongit.kde.org/plasma-framework.git#tag=plasma2tp') +md5sums=('SKIP') + +pkgver() { + cd plasma-framework + git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g' +} + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../plasma-framework \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/opt/kf5 \ + -DLIB_INSTALL_DIR=lib \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}