summaryrefslogtreecommitdiff
path: root/staging/python-iwscan/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'staging/python-iwscan/PKGBUILD')
-rw-r--r--staging/python-iwscan/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/staging/python-iwscan/PKGBUILD b/staging/python-iwscan/PKGBUILD
new file mode 100644
index 000000000..3abb6747e
--- /dev/null
+++ b/staging/python-iwscan/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 168715 2012-10-14 20:19:42Z eric $
+# 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}"
+}