PKGBUILDs/community/python-pybluez/PKGBUILD

24 lines
705 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: cs-cam - me.at.camdaniel.com
pkgname=python-pybluez
pkgver=0.16
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)
md5sums=('2ce8ff0dbb94c6be14e92e9968f4c914')
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
}