summaryrefslogtreecommitdiff
path: root/gnome-unstable/telepathy-gabble/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-unstable/telepathy-gabble/PKGBUILD')
-rw-r--r--gnome-unstable/telepathy-gabble/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnome-unstable/telepathy-gabble/PKGBUILD b/gnome-unstable/telepathy-gabble/PKGBUILD
new file mode 100644
index 000000000..2292ff469
--- /dev/null
+++ b/gnome-unstable/telepathy-gabble/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 152828 2012-03-09 18:47:17Z ibiru $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Daniel Balieiro <daniel@balieiro.com>
+# Contributor: Rodrigo L. M. Flores <mail@rodrigoflores.org>
+pkgname=telepathy-gabble
+pkgver=0.15.4
+pkgrel=1
+pkgdesc="A Jabber/XMPP connection manager for Telepathy"
+arch=('i686' 'x86_64')
+url="http://telepathy.freedesktop.org"
+groups=('telepathy')
+license=('LGPL2.1')
+depends=('telepathy-glib' 'libsoup' 'libnice' 'sqlite3')
+makedepends=('libxslt' 'python2')
+options=('!libtool' '!emptydirs')
+source=(http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
+install=telepathy-gabble.install
+md5sums=('3eb3ee032da4064f07781427384b94e0')
+
+build() {
+ cd "$pkgname-$pkgver"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+ --libexecdir=/usr/lib/telepathy --with-tls=openssl
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|" "$pkgdir/usr/bin/telepathy-gabble-xmpp-console"
+}