summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/python-pybluez/PKGBUILD
blob: 27b9b61101fa8dd5ed0b1a65c18d6ffb87251d67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD,v 1.11 2009/02/12 20:16:22 voidnull Exp $
# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
# Contributor: cs-cam - me.at.camdaniel.com

pkgname=python-pybluez
pkgver=0.18
pkgrel=1
pkgdesc="Python wrapper for the BlueZ Bluetooth stack"
arch=('i686' 'x86_64')
url="http://code.google.com/p/pybluez/"
license=('GPL')
provides=('pybluez')
conflicts=('pybluez')
replaces=('pybluez')
depends=('python' 'bluez')
source=(http://pybluez.googlecode.com/files/PyBluez-$pkgver.tar.gz)

build() {
  cd $srcdir/PyBluez-$pkgver
  python setup.py install --root=$pkgdir && \
  ln -s bluetooth/_bluetooth.so $pkgdir/usr/lib/python2.6/site-packages/_bluetooth.so
}

md5sums=('be8c8ce615c3189fda1aaf3d568314b2')