blob: 9cbcb2d893ae4377998c11ed925f09d14303868b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Description: Client pour le protocole MSN / Live
# URL: http://www.emesene.org
# Maintainer: NuTyX core team
# Packager: fanch
# Depends on: hicolor-icon-theme, pygtk, python, xdg-utils, gst-python
# Run on: hicolor-icon-theme,pygtk,python,xdg-utils,gst-python
name=emesene
version=1.6.2
release=1
source=(http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \
http://nutyx.meticul.eu/files/patchs/$name/emesene.run \
http://nutyx.meticul.eu/files/patchs/$name/setup.patch)
build() {
cd $SRC/$name-$version
# enable installing in setup.py
patch -Np0 -i $SRC/setup.patch
# install license files
install -Dm644 COPYING $PKG/usr/share/licenses/emesene/COPYING
install -Dm644 PSF $PKG/usr/share/licenses/emesene/PSF
# install files
python2 setup.py install --prefix=$PKG/usr
# use /usr/share/emesene instead of /usr/lib/python2.7/site-packages
mv -f $PKG/usr/lib/python2.7/site-packages $PKG/usr/share/emesene
rm -rf $PKG/usr/lib
# remove old executable and use our own because we use /usr/share/emesene
rm $PKG/usr/bin/emesene
install -Dm755 $SRC/emesene.run $PKG/usr/bin/emesene
}
|