1 # Maintainer: DonVla <donvla@users.sourceforge.net>
6 pkgdesc="Send text messages with and files to a mobile phone through a bluetooth connection."
8 url="http://code.google.com/p/phonetooth/"
10 depends=('bluez' 'dbus-python' 'obex-data-server' 'pygtk' 'python-pybluez' 'python-pyserial')
11 optdepends=('python-gammu: to use the gammu backend')
12 install=$pkgname.install
13 source=(http://phonetooth.googlecode.com/files/$pkgname-$pkgver.tar.gz)
14 md5sums=('9acded96a515bbcf11ca09ec24995715')
15 sha256sums=('5c38d03341943b4dc53d1e30fbe955b14eccc594b83a9e25441de40fa53533d6')
18 cd "$srcdir/$pkgname-$pkgver"
19 PYTHON=python2 ./configure --prefix=/usr
22 make DESTDIR="$pkgdir" install
23 sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" ${pkgdir}/usr/bin/phonetoothui
25 # vim:set ts=2 sw=2 et: