updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / x60br / PKGBUILD
blob0647b037903c50af0241ebf9206b14db1e05a973
1 pkgname=x60br
2 pkgver=0.1
3 pkgrel=1
4 pkgdesc="xep-60 browser"
5 arch=(any)
6 url="http://x60br.berlios.de/"
7 license=('GPL')
8 depends=(twisted pygtk libglade)
9 source=(http://download2.berlios.de/x60br/x60br-$pkgver.tar.gz)
10 md5sums=('0f6a235eb93e653e95d3633cc9a03c38')
12 build() {
13   cd "$srcdir/"
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