summaryrefslogtreecommitdiff
path: root/community/python2-pybluez/PKGBUILD
blob: 26ec8b3df95cb0e7b3d549a905e3454e609e2583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 66132 2012-02-23 01:40:38Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: cs-cam - me.at.camdaniel.com

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

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