blob: 19f795d5fed0a05358d1aea7aa912af7fbb7a879 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $Id: PKGBUILD 111809 2014-05-25 08:23:20Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
# Contributor: Ghost of Kendo <ghostofkendo at gmail dot com>
pkgname=python2-netifaces
pkgver=0.10.4
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=("https://pypi.python.org/packages/source/n/netifaces/netifaces-${pkgver}.tar.gz")
md5sums=('36da76e2cfadd24cc7510c2c0012eb1e')
package() {
cd "${srcdir}/netifaces-${pkgver}"
python2 setup.py install --root "${pkgdir}"
# Install license, that is inside the readme file
install -Dm644 README.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|