# $Id: PKGBUILD 200783 2013-12-05 06:48:36Z andrea $ # Maintainer: Andrea Scarpino pkgname=libkgapi pkgver=2.0.2 pkgrel=1 pkgdesc="A KDE-based library for accessing various Google services via their public API" url='https://projects.kde.org/projects/extragear/libs/libkgapi' arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL') depends=('kdepimlibs') makedepends=('cmake' 'automoc4' 'boost') replaces=('akonadi-google' 'libkgoogle') conflicts=('akonadi-google' 'libkgoogle') source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz") md5sums=('27c406bb32b8cf0199cd44952bb8680e') prepare() { mkdir build } build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE4_BUILD_TESTS=OFF make } package() { cd build make DESTDIR="${pkgdir}" install }