updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sat-xmpp / PKGBUILD
blobbef1686593a8d84c8e2fd0c4321fc76381b08b2b
1 # Maintainer: wido <widowild [at] myopera [dot] com>
3 pkgname=sat-xmpp
4 _realname=sat
5 pkgver=0.2.0
6 pkgrel=3
7 pkgdesc="a Client XMPP Jabber"
8 url="http://www.goffi.org/"
9 arch=('any')
10 depends=('wxpython' 'pygobject' 'python2' 'python2-wokkel-muc-hg' 'python-beautifulsoup' 'python2-urwid-satext' 'python2-progressbar' 'pyfeed')
11 makedepends=('python2')
12 license=('GPL3')
13 install=($pkgname.install)
14 source=(ftp://ftp.goffi.org/${_realname}/${_realname}-${pkgver}.tar.bz2)
15 md5sums=('16c95cd8de895485f9f61b90010bfe21')
17 build() {
18     cd ${srcdir}/${_realname}-${pkgver}
19     python2 setup.py build
22 package(){
23     cd ${srcdir}/${_realname}-${pkgver}
24     python2 setup.py install --root=${pkgdir}/ --prefix=/usr
26     # Patch for TAP_PATH
27     sed -i "s|^TAP_PATH.*|TAP_PATH=/usr/lib/python2.7/site-packages/sat/|" ${pkgdir}/usr/lib/python2.7/site-packages/sat/sat.sh
29     # Fix symlink
30     rm ${pkgdir}/usr/bin/sat
31     ln -s /usr/lib/python2.7/site-packages/sat/sat.sh ${pkgdir}/usr/bin/sat