# $Id: PKGBUILD 75808 2012-08-31 20:40:47Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Gergely Imreh # Contributor: Ghost of Kendo pkgname=python2-netifaces pkgver=0.8 pkgrel=1 pkgdesc="Portable module to access network interface information in Python" arch=('i686' 'x86_64') url="http://alastairs-place.net/netifaces/" license=('MIT') depends=('python2') makedepends=('python2-distribute') source=("http://alastairs-place.net/projects/netifaces/netifaces-${pkgver}.tar.gz") md5sums=('e57e5983f4c286fac5f8068fbfc5c873') build() { cd "${srcdir}/netifaces-${pkgver}" python2 setup.py install --root "${pkgdir}" # Install license, that is inside the readme file install -Dm644 README "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }