summaryrefslogtreecommitdiff
path: root/extra/libkgapi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libkgapi/PKGBUILD')
-rw-r--r--extra/libkgapi/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/libkgapi/PKGBUILD b/extra/libkgapi/PKGBUILD
new file mode 100644
index 000000000..9fcc68fd8
--- /dev/null
+++ b/extra/libkgapi/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 164828 2012-08-06 23:06:24Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=libkgapi
+pkgver=0.4.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' 'libkgoogle')
+conflicts=('akonadi-google' 'libkgoogle')
+source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('b4cefa643e95f5670997b5001547988f')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}