core/telepathy-gabble/PKGBUILD
2014-08-01 00:27:29 +00:00

32 lines
961 B
Bash

# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
pkgname=telepathy-gabble
pkgver=0.18.3
pkgrel=1
pkgdesc="A Jabber/XMPP connection manager that handles single- and multi-user chats and voice/video calls."
arch=('x86_64')
url="http://telepathy.freedesktop.org/"
license=('GPL')
depends=('telepathy-glib' 'libsoup' 'libnice' 'util-linux' 'sqlite3')
makedepends=('libxslt' 'python2')
groups=('telepathy')
options=('!libtool' '!emptydirs')
install=telepathy-gabble.install
source=("http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz")
sha1sums=('1c71c5acf2c506788aa4b1604390f38979d88887')
build() {
cd $pkgname-$pkgver
PYTHON=/usr/bin/python2
./configure --prefix=/usr --libexecdir=/usr/lib/telepathy --with-tls=openssl
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|" "$pkgdir/usr/bin/telepathy-gabble-xmpp-console"
}