4 pkgdesc="xep-60 browser"
6 url="http://x60br.berlios.de/"
8 depends=(twisted pygtk libglade)
9 source=(http://download2.berlios.de/x60br/x60br-$pkgver.tar.gz)
10 md5sums=('0f6a235eb93e653e95d3633cc9a03c38')
14 mkdir -p $pkgdir/usr/{share,bin}
15 cp -r x60br-$pkgver $pkgdir/usr/share/x60br || return 1
16 sed -i 's#python src/pubsub/browser/main.py#exec python src/pubsub/browser/main.py#' $pkgdir/usr/share/x60br/run.sh
17 echo -e '#!/bin/sh\ncd /usr/share/x60br && exec ./run.sh' >$pkgdir/usr/bin/x60br
18 chmod 0755 $pkgdir/usr/bin/x60br