blob: 43545c1c6db4b5f27e58b95db83fa5bd9226f531 (
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-rf24-network
pkgver=2.0.1
pkgrel=0
pkgdesc='Python bindings for networking with RF24 radio modules'
arch=(any)
url='http://tmrh20.github.io/RF24Network/'
license=('MIT')
depends=('boost-libs' 'rf24-network' 'python' 'python-rf24')
makedepends=('boost' 'python-setuptools')
source=("https://github.com/nRF24/RF24Network/archive/v${pkgver}.tar.gz")
sha256sums=('1bb5bb483c880a25d804842a616e1f99d1f2785c0c938b4ddcb18ce3919e2c55')
build() {
cd "$srcdir/RF24Network-$pkgver/RPi/pyRF24Network"
python setup.py build
}
package() {
cd "$srcdir/RF24Network-$pkgver/RPi/pyRF24Network"
python setup.py install --root="$pkgdir/" --optimize=1
}
|