blob: d686b774c8ae3d5080b8aac2428d37d609b00100 (
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: Razer <razer[AT]neuf[DOT]fr>
pkgname=python-networkmanager
_pypi_pkgname=python-networkmanager
pkgver=2.2
pkgrel=2
pkgdesc="Easy communication with NetworkManager"
arch=(any)
url="https://github.com/seveas/python-networkmanager"
license=('zlib')
makedepends=('python-setuptools')
depends=('python' 'networkmanager')
source=("https://pypi.io/packages/source/p/python-networkmanager/python-networkmanager-${pkgver}.tar.gz")
sha256sums=('de6eb921d94aba7549f428ed2b3aa482a5d543ecb6965cbaa0fbb555ab31b9d5')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py build || return 1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python setup.py install --root=${pkgdir} --optimize=1 || return 1
}
|