summaryrefslogtreecommitdiff
path: root/kde-unstable/libkgapi/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-02 00:01:53 +0000
committerroot <root@rshg054.dnsready.net>2012-06-02 00:01:53 +0000
commit211709a2f09bd677aa1deac0dc82fde6ce1c8626 (patch)
treebd95688134860851652ff3d47f376702917f1b76 /kde-unstable/libkgapi/PKGBUILD
parent7087de492f6effbd08f6b644ce85d1b1ea58fb14 (diff)
Sat Jun 2 00:01:53 UTC 2012
Diffstat (limited to 'kde-unstable/libkgapi/PKGBUILD')
-rw-r--r--kde-unstable/libkgapi/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/kde-unstable/libkgapi/PKGBUILD b/kde-unstable/libkgapi/PKGBUILD
new file mode 100644
index 000000000..67c200fa9
--- /dev/null
+++ b/kde-unstable/libkgapi/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 160270 2012-05-31 20:24:46Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=libkgapi
+pkgver=0.4.0
+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://www.progdan.cz/wp-content/uploads/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('90c44fd9456a6e34a8375f98250ad7cc')
+
+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
+}