summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 47c69839948f574a2298ef4c96a994f33574d7c2 (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
25
26
27
28
29
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
pkgname=python-pyfirmata
pkgver=1.0.3
pkgrel=1
pkgdesc="Python interface for the Firmata"
arch=('any')
url="https://github.com/tino/pyFirmata"
license=('MIT')
depends=('python-pyserial')
makedepends=('python-distribute')
options=(!emptydirs)

source=("https://github.com/tino/pyFirmata/archive/${pkgver}.tar.gz")
md5sums=('d391cf2975c6a48590d4727a3ce85eae')

build() {
  cd "$srcdir"/pyFirmata-$pkgver

  python setup.py build
}

package() {
  cd "$srcdir"/pyFirmata-$pkgver

  python setup.py install --root="$pkgdir"/ --optimize=1

  install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}