1 # Maintainer: Kosava <kosava@archlinux.us>
6 pkgdesc="pybtchat is a simple chat program (one to one) that uses bluetooth technology"
8 url="http://pybtchat.sourceforge.net/"
10 depends=('python-pybluez' 'python-notify' 'pygtk')
11 makedepends=('python2')
12 source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.gz)
13 md5sums=('aed4034943f4aea16731f48e5d9957c8')
16 cd ${srcdir}/${pkgname}
17 install -dm755 ${pkgdir}/usr/share/${pkgname}/{pics,xml}
18 install -dm755 ${pkgdir}/usr/bin
19 install -m644 xml/${pkgname}.xml ${pkgdir}/usr/share/${pkgname}/xml
20 install -m644 pics/icon.png ${pkgdir}/usr/share/${pkgname}/pics
21 install -m644 ${pkgname}.py ${pkgdir}/usr/share/${pkgname}
24 echo "#!/bin/sh" > ${pkgdir}/usr/bin/${pkgname}
25 echo "cd /usr/share/${pkgname}" >> ${pkgdir}/usr/bin/${pkgname}
26 echo "python2 ${pkgname}.py" >> ${pkgdir}/usr/bin/${pkgname}
27 chmod 755 ${pkgdir}/usr/bin/${pkgname}