summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD21
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c95ddd1b953
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python-raspberry-gpio
+ pkgdesc = Python library for GPIO access on a Raspberry Pi
+ pkgver = 0.5.11
+ pkgrel = 1
+ url = http://sourceforge.net/projects/raspberry-gpio-python/
+ arch = armv6h
+ arch = armv7h
+ license = MIT
+ makedepends = python-distribute
+ depends = python
+ source = https://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-0.5.11.tar.gz
+ md5sums = 9dc3dab6ce2b7ccb833a866efb392821
+
+pkgname = python-raspberry-gpio
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5ea2daa47ec
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Devaev Maxim <mdevaev@gmail.com>
+# Contributor: Michael Serpieri <contact at pygoscelis dot org>
+
+
+pkgname="python-raspberry-gpio"
+pkgver="0.5.11"
+pkgrel="1"
+pkgdesc="Python library for GPIO access on a Raspberry Pi"
+arch=("armv6h" "armv7h")
+url="http://sourceforge.net/projects/raspberry-gpio-python/"
+license=("MIT")
+depends=("python")
+makedepends=("python-distribute")
+source=("https://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-$pkgver.tar.gz")
+md5sums=("9dc3dab6ce2b7ccb833a866efb392821")
+
+
+package() {
+ cd $srcdir/RPi.GPIO-$pkgver
+ python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1
+}