diff options
author | Bartłomiej Piotrowski | 2018-01-07 18:14:18 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski | 2018-01-07 18:14:18 +0100 |
commit | a9e3e36c7c5d193aade8ec181eb8ce739bfde52f (patch) | |
tree | 610fe2872f38701c844f4021a214f036560e0c51 | |
download | aur-a9e3e36c7c5d193aade8ec181eb8ce739bfde52f.tar.gz |
Import from official repositories
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d39cad7086ca --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-iwscan + pkgdesc = A Python interface to iwlist, using the iwlib library + pkgver = 20090609 + pkgrel = 5 + url = http://projects.otaku42.de/browser/python-iwscan + arch = x86_64 + license = LGPL + depends = python2 + depends = wireless_tools + conflicts = python-iwscan<=20090609-3 + replaces = python-iwscan<=20090609-3 + source = https://sources.archlinux.org/other/python-iwscan/python-iwscan-20090609.tar.gz + md5sums = 30fbe8ad3b07e67c1c35db2de16077d8 + +pkgname = python2-iwscan + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c96d82372768 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 310007 2017-11-15 14:11:34Z foutrelis $ +# Maintainer: Daniel Isenmann <daniel@archlinux.org> + +pkgbase=python-iwscan +pkgname=python2-iwscan +pkgver=20090609 +pkgrel=5 +pkgdesc="A Python interface to iwlist, using the iwlib library" +arch=('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=(https://sources.archlinux.org/other/${pkgbase}/${pkgbase}-20090609.tar.gz) +md5sums=('30fbe8ad3b07e67c1c35db2de16077d8') + +prepare() { + cd ${pkgbase} + sed -i 's|PROC_NET_WIRELESS|"/proc/net/wireless"|' pyiwscan.c +} + +build() { + cd ${pkgbase} + python2 setup.py build +} + +package_python2-iwscan() { + cd ${pkgbase} + python2 setup.py install --root="${pkgdir}" +} |