2012-06-01 05:57:25 +08:00
|
|
|
# Desktop packages for Chakra
|
|
|
|
|
|
|
|
pkgname=libkgapi
|
2013-06-17 00:03:48 +08:00
|
|
|
pkgver=2.0.1
|
2013-06-02 05:35:21 +08:00
|
|
|
pkgrel=1
|
2012-06-01 05:57:25 +08:00
|
|
|
pkgdesc="A KDE-based library for accessing various Google services via their public API"
|
|
|
|
url='https://projects.kde.org/projects/kdereview/libkgapi'
|
2012-12-24 23:38:45 +08:00
|
|
|
arch=('x86_64')
|
2012-06-01 05:57:25 +08:00
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
|
|
depends=('kdepimlibs' 'qjson')
|
|
|
|
makedepends=('cmake' 'automoc4' 'boost')
|
|
|
|
replaces=('akonadi-google' 'libkgoogle')
|
|
|
|
conflicts=('akonadi-google' 'libkgoogle')
|
2012-06-05 23:34:18 +08:00
|
|
|
provides=('akonadi-google' 'libkgoogle')
|
2012-12-24 23:38:45 +08:00
|
|
|
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
|
2013-06-17 00:03:48 +08:00
|
|
|
md5sums=('a421c6b5e0b262136121e3734b29fcce')
|
2012-06-01 05:57:25 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
}
|