summaryrefslogtreecommitdiff
path: root/community/emesene
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-01-09 13:47:51 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-01-09 13:47:51 +0000
commit7a3611f5caa5e34c1f2b582640f97b733110ae63 (patch)
tree5b0baf1ad1b36444ffbf73707a377b15fc67692f /community/emesene
parent46783b68621b6ad45cdd9ed64cfa8cdcfbc6f318 (diff)
Mon Jan 9 13:47:49 UTC 2012
Diffstat (limited to 'community/emesene')
-rwxr-xr-xcommunity/emesene/PKGBUILD55
-rw-r--r--community/emesene/emesene.install12
-rw-r--r--community/emesene/emesene.run2
-rw-r--r--community/emesene/setup.patch20
4 files changed, 0 insertions, 89 deletions
diff --git a/community/emesene/PKGBUILD b/community/emesene/PKGBUILD
deleted file mode 100755
index 8553e2ba5..000000000
--- a/community/emesene/PKGBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# $Id: PKGBUILD 60201 2011-12-07 14:41:34Z arodseth $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Claudio Riva <firetux83@gmail.com>
-
-pkgname=emesene
-pkgver=2.11.11
-pkgrel=1
-pkgdesc="A pygtk MSN Messenger client"
-url="http://www.emesene.org/"
-license=('custom:PSF' 'GPL' 'LGPL2.1')
-arch=('i686' 'x86_64') # libmimic is hardcoded, so no 'any' package
-depends=('python2' 'pygtk' 'python-dnspython' 'pylint' 'python-notify' 'openssl' \
-'papyon' 'python-imaging' 'dbus-python' 'xdg-utils' 'hicolor-icon-theme' \
-'gstreamer0.10-python' 'gstreamer0.10-good')
-makedepends=('python2-distribute')
-optdepends=('gnome-python-extras: spell-check plugin'
- 'gtkspell: spell-check plugin'
- 'farsight2: webcam support'
- 'pywebkitgtk: for alternative conversation window'
- 'xmpppy: for gtalk and facebook chat support'
- 'pyqt: alternative qt4 interface (emesene -e main:qt4_main')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/emesene/emesene/tarball/v2.11.11"
- 'emesene.run')
-install=emesene.install
-options=('!libtool')
-sha1sums=('bf1c63d47617b746640950bd6aedf0fbe86e8743'
- '2bd13ada86aa0af6307a41047f0d7caf2995660d')
-build() {
- cd ${srcdir}/${pkgname}-${pkgname}-c1bfdeb
-
- # do not import dummy session
- # sed -i -e "/import dummy/d" emesene/emesene.py
-
- # install files
- export PYTHONPATH="${pkgdir}/usr/lib/python2.7/site-packages/"
- install -d ${pkgdir}/usr/lib/python2.7/site-packages/
- python2 setup.py install --prefix=${pkgdir}/usr
-}
-
-package() {
- cd ${pkgdir}
-
- # use /usr/share/emesene instead of /usr/lib/python2.5/site-packages
- mv -f ${pkgdir}/usr/lib/python2.7/site-packages/emesene-${pkgver}-py2.7.egg/share \
- ${pkgdir}/usr
- mv -f ${pkgdir}/usr/lib/python2.7/site-packages/emesene-${pkgver}-py2.7.egg/emesene \
- ${pkgdir}/usr/share
- rm -rf ${pkgdir}/usr/lib
-
- # python -> python2
- find -name *.py -exec sed -i "s|/usr/bin/env python|/usr/bin/env python2|" {} \;
-
- # create executable
- install -Dm755 ${srcdir}/emesene.run ${pkgdir}/usr/bin/emesene
-}
diff --git a/community/emesene/emesene.install b/community/emesene/emesene.install
deleted file mode 100644
index 9ff2df7f8..000000000
--- a/community/emesene/emesene.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- update-desktop-database -q
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/community/emesene/emesene.run b/community/emesene/emesene.run
deleted file mode 100644
index 8fb6efc62..000000000
--- a/community/emesene/emesene.run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-python2 /usr/share/emesene/emesene "$@"
diff --git a/community/emesene/setup.patch b/community/emesene/setup.patch
deleted file mode 100644
index 858b7f928..000000000
--- a/community/emesene/setup.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- setup.py.orig 2010-05-03 11:02:53.551508139 +0200
-+++ setup.py 2010-05-03 11:03:09.681918067 +0200
-@@ -6,17 +6,6 @@
- import sys
-
- if os.name == 'posix':
-- for arg in sys.argv:
-- if arg == 'install':
-- print 'Hello.\nYou are trying to do a system-wide install of emesene '\
-- 'using this script, which is a very bad thing to do.\n'\
-- 'Seriously, you do NOT want to do this, since it can break '\
-- 'other python apps, and emesene too!\n'\
-- 'Follow my advice: just run the \"emesene\" script that is '\
-- 'in this very same directory and you\'re done. emesene is running '\
-- 'and your system is safe. It\'s a win-win, don\'t you think?\n'\
-- 'Thanks for trying emesene.'
-- quit()
-
- # From apport's setup.py
- mo_files = []