summaryrefslogtreecommitdiff
path: root/extra/libkgoogle/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libkgoogle/PKGBUILD')
-rw-r--r--extra/libkgoogle/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/libkgoogle/PKGBUILD b/extra/libkgoogle/PKGBUILD
new file mode 100644
index 000000000..f5daa1aeb
--- /dev/null
+++ b/extra/libkgoogle/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 159516 2012-05-25 18:26:22Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=libkgoogle
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="A KDE-based library for accessing various Google services via their public API"
+url='https://projects.kde.org/projects/kdereview/libkgoogle'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdepimlibs' 'qjson')
+makedepends=('cmake' 'automoc4' 'boost')
+replaces=('akonadi-google')
+conflicts=('akonadi-google')
+source=("http://www.progdan.cz/wp-content/uploads/akonadi-google-${pkgver}.tar.gz")
+md5sums=('fed8d9082547835ab916edd219831cf6')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../akonadi-google-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}