# $Id: PKGBUILD 213067 2014-05-18 18:58:27Z andrea $ # Maintainer: Andrea Scarpino pkgname=frameworkintegration pkgver=4.99.0 pkgrel=2 pkgdesc='Framework providing components to allow applications to integrate with a KDE Workspace' arch=('i686' 'x86_64') url='https://projects.kde.org/projects/frameworks/frameworkintegration' license=('LGPL') depends=('kio' 'ttf-oxygen') makedepends=('extra-cmake-modules') groups=('kf5') source=("http://download.kde.org/unstable/frameworks/${pkgver}/${pkgname}-${pkgver}.tar.xz") md5sums=('7d10b581c89019857373508454c8c3ab') prepare() { mkdir -p build } build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_INSTALL_DIR=lib \ -DQT_PLUGIN_INSTALL_DIR=lib/qt/plugins \ -DBUILD_TESTING=OFF make } package() { cd build make DESTDIR="${pkgdir}" install }