blob: 328f27fd51e82dab6963c1f354d9ebb74bde7442 (
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, telepathy-python
# Run on: papyon,telepathy-python
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
}
|