summaryrefslogtreecommitdiff
path: root/extra/telepathy-qt4/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/telepathy-qt4/PKGBUILD')
-rw-r--r--extra/telepathy-qt4/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/telepathy-qt4/PKGBUILD b/extra/telepathy-qt4/PKGBUILD
new file mode 100644
index 000000000..cedc5ca0c
--- /dev/null
+++ b/extra/telepathy-qt4/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 104722 2011-01-04 19:45:22Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+pkgname=telepathy-qt4
+pkgver=0.4.2
+pkgrel=1
+pkgdesc="A library for Qt-based Telepathy clients."
+arch=('i686' 'x86_64')
+url="http://telepathy.freedesktop.org"
+groups=('telepathy')
+license=('LGPL')
+options=('!libtool')
+depends=('qt' 'telepathy-farsight')
+makedepends=('libxslt' 'python2' 'cmake')
+source=(http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('d014e49b11fcbb4dc87aa1757d209a3a')
+
+build() {
+ cd "${srcdir}"
+
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DHAVE_QDBUSVARIANT_OPERATOR_EQUAL=1
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="$pkgdir" install
+}