updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / phonetooth / PKGBUILD
blobe538653dae78c8e62dc3097a426bbd92ef45e09f
1 # Maintainer: DonVla <donvla@users.sourceforge.net>
3 pkgname=phonetooth
4 pkgver=0.5.1
5 pkgrel=5
6 pkgdesc="Send text messages with and files to a mobile phone through a bluetooth connection."
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/phonetooth/"
9 license=('GPL2')
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')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
19   PYTHON=python2 ./configure --prefix=/usr
20   
21   make
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: