core/telepathy-gabble/PKGBUILD

32 lines
961 B
Bash
Raw Normal View History

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