summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/emesene/.footprint2
-rw-r--r--extra/emesene/Pkgfile27
2 files changed, 17 insertions, 12 deletions
diff --git a/extra/emesene/.footprint b/extra/emesene/.footprint
index 29a55097a..25e5948e2 100644
--- a/extra/emesene/.footprint
+++ b/extra/emesene/.footprint
@@ -143,7 +143,7 @@ drwxr-xr-x root/root usr/share/emesene/conversation_themes/pidgin/
-rw-r--r-- root/root usr/share/emesene/desktop.pyc
-rw-r--r-- root/root usr/share/emesene/dialog.py
-rw-r--r-- root/root usr/share/emesene/dialog.pyc
--rw-r--r-- root/root usr/share/emesene/emesene-1.6-py2.6.egg-info
+-rw-r--r-- root/root usr/share/emesene/emesene-1.6-py2.7.egg-info
drwxr-xr-x root/root usr/share/emesene/emesenelib/
-rw-r--r-- root/root usr/share/emesene/emesenelib/ContactData.py
-rw-r--r-- root/root usr/share/emesene/emesenelib/ContactData.pyc
diff --git a/extra/emesene/Pkgfile b/extra/emesene/Pkgfile
index 27bbe283f..5622bfe91 100644
--- a/extra/emesene/Pkgfile
+++ b/extra/emesene/Pkgfile
@@ -2,33 +2,38 @@
# URL: http://www.emesene.org
# Maintainer: NuTyX core team
# Packager: fanch
-# Depends on: hicolor-icon-theme, pygtk, python, xdg-utils, gst-python
+# Depends 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
+ cd $SRC/$name-$version
# enable installing in setup.py
- patch -Np0 -i $SRC/setup.patch
+ 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 -Dm644 COPYING $PKG/usr/share/licenses/emesene/COPYING
+ install -Dm644 PSF $PKG/usr/share/licenses/emesene/PSF
# install files
- python setup.py install --prefix=$PKG/usr
+ python2 setup.py install --prefix=$PKG/usr
- # use /usr/share/emesene instead of /usr/lib/python2.5/site-packages
- mv -f $PKG/usr/lib/python2.6/site-packages $PKG/usr/share/emesene
- rm -rf $PKG/usr/lib
+ # 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
+ rm $PKG/usr/bin/emesene
+ install -Dm755 $SRC/emesene.run $PKG/usr/bin/emesene
}