1 #Maintainer: Gergely Imreh <imrehg(at)gmail(dot)com>
2 #Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
3 pkgname=python-netifaces
7 pkgdesc="Portable module to access network interface information in Python."
10 arch=('i686' 'x86_64')
11 url="http://alastairs-place.net/netifaces/"
13 provides=('netifaces' 'python-netifaces')
14 source=("http://alastairs-place.net/projects//netifaces/netifaces-${pkgver}.tar.gz")
16 cd "${srcdir}/${_orig_name}-${pkgver}"
17 python2 setup.py install --root "${pkgdir}" || return 1
19 # Install license, that is inside the readme file
20 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
21 install -m644 README "${pkgdir}/usr/share/licenses/${pkgname}/README" || return 1
23 md5sums=('6ea1e045ebd5db99dd675178e41307e5')