summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0a4ea08d4a8e3f492a49c332dbc52d8bf40047fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Devaev Maxim <mdevaev@gmail.com>
# Contributor: Michael Serpieri <contact at pygoscelis dot org>


pkgname=python-raspberry-gpio
pkgver=0.6.5
pkgrel=1
pkgdesc="Python library for GPIO access on a Raspberry Pi"
url="http://sourceforge.net/projects/raspberry-gpio-python/"
license=(MIT)
arch=(armv6h armv7h aarch64)
depends=(python)
makedepends=(gcc python-distribute)
source=("https://files.pythonhosted.org/packages/source/R/RPi.GPIO/RPi.GPIO-$pkgver.tar.gz")
sha1sums=(b792e7b95e3a169b35ea9010fc8bd3e5d69aa670)


package() {
	cd "$srcdir/RPi.GPIO-$pkgver"
	python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}