Add libjgoogle + fixes and updates

This commit is contained in:
Manuel 2012-05-26 19:26:03 +00:00
parent 813c4416f1
commit e3710fa7a4

View File

@ -1,7 +1,8 @@
# Desktop packages for Chakra # Desktop packages for Chakra
pkgname=libkgoogle pkgname=libkgoogle
pkgver=0.3.2 _pkgname=akonadi-google
pkgver=0.3.1
pkgrel=1 pkgrel=1
pkgdesc="A KDE-based library for accessing various Google services via their public API" pkgdesc="A KDE-based library for accessing various Google services via their public API"
url='https://projects.kde.org/projects/kdereview/libkgoogle' url='https://projects.kde.org/projects/kdereview/libkgoogle'
@ -11,11 +12,13 @@ depends=('kdepimlibs' 'qjson')
makedepends=('cmake' 'automoc4' 'boost') makedepends=('cmake' 'automoc4' 'boost')
replaces=('akonadi-google') replaces=('akonadi-google')
conflicts=('akonadi-google') conflicts=('akonadi-google')
source=("ftp://ftp.kde.org/pub/kde/stable/libkgoogle/${pkgver}/libkgoogle-${pkgver}.tar.bz2") source=("http://www.progdan.cz/wp-content/uploads/akonadi-google-${pkgver}.tar.gz")
md5sums=('fa7cff3f8599cb5116be551ee85536e5') md5sums=('fed8d9082547835ab916edd219831cf6')
#source=("ftp://ftp.kde.org/pub/kde/stable/libkgoogle/${pkgver}/libkgoogle-${pkgver}.tar.bz2")
#md5sums=('fa7cff3f8599cb5116be551ee85536e5')
build() { build() {
cd "${srcdir}/${pkgname}-${pkgver}" cd "${srcdir}/${_pkgname}-${pkgver}"
mkdir build mkdir build
cd build cd build
cmake ..\ cmake ..\
@ -25,6 +28,12 @@ build() {
} }
package() { package() {
cd "${srcdir}/${pkgname}-${pkgver}/build" cd "${srcdir}/${_pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
# Temporary fix: this is already in kdepim-runtime
rm -f ${pkgdir}/usr/bin/akonadi_googlecalendar_resource
rm -f ${pkgdir}/usr/bin/akonadi_googlecontacts_resource
rm -f ${pkgdir}/usr/share/akonadi/agents/googlecalendarresource.desktop
rm -f ${pkgdir}/usr/share/akonadi/agents/googlecontactsresource.desktop
} }