desktop/libkgapi/PKGBUILD
2013-06-16 16:03:48 +00:00

33 lines
855 B
Bash

# Desktop packages for Chakra
pkgname=libkgapi
pkgver=2.0.1
pkgrel=1
pkgdesc="A KDE-based library for accessing various Google services via their public API"
url='https://projects.kde.org/projects/kdereview/libkgapi'
arch=('x86_64')
license=('GPL' 'LGPL' 'FDL')
depends=('kdepimlibs' 'qjson')
makedepends=('cmake' 'automoc4' 'boost')
replaces=('akonadi-google' 'libkgoogle')
conflicts=('akonadi-google' 'libkgoogle')
provides=('akonadi-google' 'libkgoogle')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('a421c6b5e0b262136121e3734b29fcce')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir build
cd build
cmake ..\
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
}