summaryrefslogtreecommitdiff
path: root/extra/telepathy-qt/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
committerroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
commit98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f (patch)
tree00d9cdbfdc8ef5d7a4a7159a8c6439008509e662 /extra/telepathy-qt/PKGBUILD
parent9988621f899d7d4ae5fd0a4a32a4ba3abc5a527d (diff)
Wed Apr 25 00:01:35 UTC 2012
Diffstat (limited to 'extra/telepathy-qt/PKGBUILD')
-rw-r--r--extra/telepathy-qt/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/extra/telepathy-qt/PKGBUILD b/extra/telepathy-qt/PKGBUILD
new file mode 100644
index 000000000..18ffc0fba
--- /dev/null
+++ b/extra/telepathy-qt/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 156982 2012-04-23 09:10:33Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=telepathy-qt
+pkgver=0.9.1
+pkgrel=1
+pkgdesc="A library for Qt-based Telepathy clients"
+arch=('i686' 'x86_64')
+url="http://telepathy.freedesktop.org/wiki/"
+license=('LGPL')
+options=('!libtool')
+depends=('qt' 'telepathy-farstream')
+makedepends=('libxslt' 'python2' 'cmake' 'doxygen')
+conflicts=('telepathy-qt4')
+replaces=('telepathy-qt4')
+provides=('telepathy-qt4')
+source=("http://telepathy.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'gcc47.patch')
+md5sums=('e0e6c1a987bbeae44c778344a2cc9d80'
+ '32aa8eb06c76cb03af5ced27a674ebfb')
+
+build() {
+ cd "$srcdir"
+ patch -Np0 -i gcc47.patch
+
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "$srcdir"/build
+ make DESTDIR="$pkgdir" install
+}