diff options
Diffstat (limited to 'telepathy-butterfly/Pkgfile')
-rwxr-xr-x | telepathy-butterfly/Pkgfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/telepathy-butterfly/Pkgfile b/telepathy-butterfly/Pkgfile new file mode 100755 index 0000000..3c6be6d --- /dev/null +++ b/telepathy-butterfly/Pkgfile @@ -0,0 +1,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 +} |