# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=kf5-attica _pkgname=attica pkgver=${_kf5ver} pkgrel=1 arch=('x86_64') url='https://projects.kde.org/projects/kdesupport/attica' pkgdesc='A Qt5 library that implements the Open Collaboration Services API' license=('LGPL') depends=('qt5-base') makedepends=('extra-cmake-modules') groups=('kf5') source=("http://download.kde.org/stable/frameworks/${pkgver}/${_pkgname}-${pkgver}.tar.xz") md5sums=(`grep ${_pkgname}-${_kf5ver}.tar.xz ../kf5.md5 | cut -d" " -f1`) build() { mkdir -p build cd build cmake ../${_pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules \ -DKDE_INSTALL_PLUGINDIR=/usr/lib/qt5/plugins \ -DKDE_INSTALL_LIBDIR=lib make } package() { cd build make DESTDIR="${pkgdir}" install }