summaryrefslogtreecommitdiff
path: root/extra/libkfbapi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libkfbapi/PKGBUILD')
-rw-r--r--extra/libkfbapi/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/libkfbapi/PKGBUILD b/extra/libkfbapi/PKGBUILD
new file mode 100644
index 000000000..6182653fd
--- /dev/null
+++ b/extra/libkfbapi/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 188957 2013-06-27 06:08:07Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: birdflesh <antkoul at gmail dot com>
+
+pkgname=libkfbapi
+pkgver=1.0
+pkgrel=1
+pkgdesc="KDE library for accessing Facebook services"
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/libkfbapi'
+license=('GPL')
+depends=('kdepimlibs')
+makedepends=('cmake' 'automoc4' 'boost')
+source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.bz2")
+md5sums=('05ce3213a1383796a02115705c2bf829')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}