summaryrefslogtreecommitdiff
path: root/testing/python-iwscan
diff options
context:
space:
mode:
Diffstat (limited to 'testing/python-iwscan')
-rw-r--r--testing/python-iwscan/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/python-iwscan/PKGBUILD b/testing/python-iwscan/PKGBUILD
new file mode 100644
index 000000000..a32038290
--- /dev/null
+++ b/testing/python-iwscan/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 168860 2012-10-16 11:54:37Z allan $
+# Maintainer: Daniel Isenmann <daniel@archlinux.org>
+
+pkgbase=python-iwscan
+pkgname=python2-iwscan
+pkgver=20090609
+pkgrel=4
+pkgdesc="A Python interface to iwlist, using the iwlib library"
+arch=('i686' 'x86_64')
+url="http://projects.otaku42.de/browser/python-iwscan"
+license=('LGPL')
+depends=('python2' 'wireless_tools')
+conflicts=('python-iwscan<=20090609-3')
+replaces=('python-iwscan<=20090609-3')
+source=(ftp://ftp.archlinux.org/other/${pkgbase}/${pkgbase}-20090609.tar.gz)
+md5sums=('30fbe8ad3b07e67c1c35db2de16077d8')
+
+build() {
+ cd "${srcdir}/${pkgbase}"
+ python2 setup.py build
+}
+
+package_python2-iwscan() {
+ cd "${srcdir}/${pkgbase}"
+ python2 setup.py install --root="${pkgdir}"
+}