summaryrefslogtreecommitdiff
path: root/community/python2-pybluez
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-18 01:24:49 -0700
committerroot <root@rshg054.dnsready.net>2012-10-18 01:24:49 -0700
commit9e3985ed7c9851da65023a0ab3d0739cce1858e2 (patch)
tree817050bac0aea21506bd81fde0bd6a07d7e2d3e4 /community/python2-pybluez
parentc84b2cd310f86dc50c4f52a5907cb17652e8c87c (diff)
Thu Oct 18 01:23:58 PDT 2012
Diffstat (limited to 'community/python2-pybluez')
-rw-r--r--community/python2-pybluez/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/python2-pybluez/PKGBUILD b/community/python2-pybluez/PKGBUILD
new file mode 100644
index 000000000..6007614a6
--- /dev/null
+++ b/community/python2-pybluez/PKGBUILD
@@ -0,0 +1,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')
+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
+}