mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
added aur/python2-netifaces
This commit is contained in:
parent
50e90bf8e3
commit
4ed4a835b7
1 changed files with 27 additions and 0 deletions
27
aur/python2-netifaces/PKGBUILD
Normal file
27
aur/python2-netifaces/PKGBUILD
Normal file
|
@ -0,0 +1,27 @@
|
|||
#Maintainer: Gergely Imreh <imrehg(at)gmail(dot)com>
|
||||
#Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
|
||||
#Contributor: Kevin Mihelich <kevin@plugapps.com>
|
||||
|
||||
plugrel=1
|
||||
|
||||
pkgname=python2-netifaces
|
||||
_orig_name=netifaces
|
||||
pkgver=0.5
|
||||
pkgrel=1
|
||||
pkgdesc="Portable module to access network interface information in Python."
|
||||
depends=('python2')
|
||||
makedepends=('python2-distribute')
|
||||
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=('1538808bd04614268cb61b1f78b695f3')
|
Loading…
Reference in a new issue