updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python-netifaces / PKGBUILD
bloba9772615c0d86c29dc30a7f3de3e1a73019e2b5d
1 #Maintainer: Gergely Imreh <imrehg(at)gmail(dot)com>
2 #Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
3 pkgname=python-netifaces
4 _orig_name=netifaces
5 pkgver=0.6
6 pkgrel=1
7 pkgdesc="Portable module to access network interface information in Python."
8 depends=('python2')
9 makedepend=('gcc')
10 arch=('i686' 'x86_64')
11 url="http://alastairs-place.net/netifaces/"
12 license=('MIT')
13 provides=('netifaces' 'python-netifaces')
14 source=("http://alastairs-place.net/projects//netifaces/netifaces-${pkgver}.tar.gz")
15 build() {
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')