updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / emesene2 / PKGBUILD
blob897c9ad9b717cb5d7533a789509b69d5014f0c54
1 pkgname=emesene2
2 pkgver=2.11.5
3 pkgrel=1
4 pkgdesc="An OS independent MSN Messenger client writed in python and GTK"
5 arch=('i686' 'x86_64')
6 url="http://www.emesene.org/"
7 license=('PSF' 'GPL' 'LGPL2')
8 depends=('python2' 'pygtk' 'python-dnspython' 'pylint' 'python-notify' 'openssl' 'papyon' 'python-imaging' 'dbus-python')
9 optdepends=('pywebkitgtk: for alternative conversation window' 
10             'xmpppy: for gtalk and facebook chat support')
11 conflicts=('emesene2-git')
13 source=('emesene2.run' 'emesene2.desktop' 'https://github.com/emesene/emesene/tarball/v2.11.5')
15 md5sums=('d80dd3733bac314306d4e605880c13b0'
16          'a4bfcf1b89018a3aad09f11367589e3b'
17          '658d0c9c96f5632cada6b66cc5a48b4f')
19 build() {
20   cd "$srcdir"
21     
22   cd emesene-emesene*
23   cd emesene
24   
25   sed -i '/import e3dummy/d' emesene.py
27   # Copying files
28   mkdir -p $pkgdir/usr/{bin,share/${pkgname}}
29   cp -r * $pkgdir/usr/share/${pkgname}
30   rm -rf $pkgdir/usr/share/${pkgname}/docs
31   
32   # install startup file
33   install -Dm755 $srcdir/emesene2.run $pkgdir/usr/bin/${pkgname}
34   
35   # install pixmap
36   install -Dm644 themes/images/default/logo.png $pkgdir/usr/share/pixmaps/${pkgname}.png
37   
38   # install desktop file
39   install -Dm644 $srcdir/${pkgname}.desktop $pkgdir/usr/share/applications/${pkgname}.desktop
41