diff options
Diffstat (limited to 'extra/python-iwscan/PKGBUILD')
-rw-r--r-- | extra/python-iwscan/PKGBUILD | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/extra/python-iwscan/PKGBUILD b/extra/python-iwscan/PKGBUILD index 603675f82..0bbb8118b 100644 --- a/extra/python-iwscan/PKGBUILD +++ b/extra/python-iwscan/PKGBUILD @@ -1,18 +1,26 @@ +# $Id: PKGBUILD 169016 2012-10-17 10:20:21Z allan $ # Maintainer: Daniel Isenmann <daniel@archlinux.org> -pkgname=python-iwscan +pkgbase=python-iwscan +pkgname=python2-iwscan pkgver=20090609 -pkgrel=3 +pkgrel=4 pkgdesc="A Python interface to iwlist, using the iwlib library" arch=('i686' 'x86_64' 'mips64el') url="http://projects.otaku42.de/browser/python-iwscan" license=('LGPL') depends=('python2' 'wireless_tools') -source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-20090609.tar.gz) +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}/${pkgname} + cd "${srcdir}/${pkgbase}" python2 setup.py build - python2 setup.py install --root=${pkgdir} +} + +package_python2-iwscan() { + cd "${srcdir}/${pkgbase}" + python2 setup.py install --root="${pkgdir}" } |