blob: 481de96852c01b8a949f222fe0f6b0fe21177d98 (
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
|
#Maintainer: Gergely Imreh <imrehg(at)gmail(dot)com>
#Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
pkgname=python-netifaces
_orig_name=netifaces
pkgver=0.8
pkgrel=3
pkgdesc="Portable module to access network interface information in Python."
depends=('python2')
makedepend=('gcc')
arch=('i686' 'x86_64')
url="http://alastairs-place.net/netifaces/"
license=('MIT')
provides=('netifaces' 'python-netifaces')
source=("http://alastairs-place.net/projects/netifaces/${_orig_name}-${pkgver}.tar.gz")
build() {
cd "${srcdir}/${_orig_name}-${pkgver}"
python2 setup.py install --root "${pkgdir}" || return 1
# Install license, that is inside the readme file
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 README "${pkgdir}/usr/share/licenses/${pkgname}/README" || return 1
}
md5sums=('e57e5983f4c286fac5f8068fbfc5c873')
|