diff options
Diffstat (limited to 'extra/python-iwscan/PKGBUILD')
-rw-r--r-- | extra/python-iwscan/PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/extra/python-iwscan/PKGBUILD b/extra/python-iwscan/PKGBUILD index 752d224cb..2636d914b 100644 --- a/extra/python-iwscan/PKGBUILD +++ b/extra/python-iwscan/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 169016 2012-10-17 10:20:21Z allan $ +# $Id: PKGBUILD 205495 2014-02-06 05:24:02Z bisson $ # Maintainer: Daniel Isenmann <daniel@archlinux.org> pkgbase=python-iwscan pkgname=python2-iwscan pkgver=20090609 -pkgrel=4 +pkgrel=5 pkgdesc="A Python interface to iwlist, using the iwlib library" arch=('i686' 'x86_64') url="http://projects.otaku42.de/browser/python-iwscan" @@ -15,12 +15,17 @@ replaces=('python-iwscan<=20090609-3') source=(ftp://ftp.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 "${srcdir}/${pkgbase}" + cd ${pkgbase} python2 setup.py build } package_python2-iwscan() { - cd "${srcdir}/${pkgbase}" + cd ${pkgbase} python2 setup.py install --root="${pkgdir}" } |