blob: 3c6be6de02f9ed6e310ee153df51b2e81b21816e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Description: Gestionnaire de connexion MSN pour Telepathy
# URL: http://telepathy.freedesktop.org/
# Maintainer: NuTyX core team
# Packager: piernov <piernov@piernov.org>
# Depends on: papyon, python-telepathy
# Run on: papyon,python-telepathy
name=telepathy-butterfly
version=0.5.15
release=1
source=(http://${name%-*}.freedesktop.org/releases/$name/$name-$version.tar.gz
remove-bad-import-from-im-module.patch)
build() {
cd $name-$version
patch -p1 < ../remove-bad-import-from-im-module.patch
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--libexecdir=/usr/lib/${name%-*}
make
make DESTDIR=$PKG install
sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" $PKG/usr/lib/telepathy/telepathy-butterfly
}
|