summaryrefslogtreecommitdiff
path: root/extra/libkgapi
diff options
context:
space:
mode:
authorJoshua I. Haase H. (xihh) <hahj87@gmail.com>2012-09-18 23:41:48 -0500
committerJoshua I. Haase H. (xihh) <hahj87@gmail.com>2012-09-18 23:41:48 -0500
commitfa95bb04dbbc63d07b1f84fb8ce5272085097eb7 (patch)
tree09eb51305956e84dfb79aa89f5b99e595371c54d /extra/libkgapi
parent6eefbbf4300e680dc93487c11a1ae35ee8299f06 (diff)
parent5a05be089c68617c86c9c555e63f2b0314451ebf (diff)
Merge branch 'master' of gitpar:abslibre-mips64el
Diffstat (limited to 'extra/libkgapi')
-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..fd418a3c2
--- /dev/null
+++ b/extra/libkgapi/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 165471 2012-08-20 13:27:31Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=libkgapi
+pkgver=0.4.2
+pkgrel=1
+pkgdesc="A KDE-based library for accessing various Google services via their public API"
+url='https://projects.kde.org/projects/extragear/libs/libkgapi'
+arch=('i686' 'x86_64' 'mips64el')
+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=('7da940eb4ed9bdb909d29e93ef6bce67')
+
+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
+}