summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Göhler2015-06-08 13:18:06 +0200
committerMichael Göhler2015-06-08 13:18:06 +0200
commit0b30419f1199d52fe6be04566a36f2a47139a2f9 (patch)
tree1ffb6709ca11c0665dc3970579e0ef8ee4504220
downloadaur-0b30419f1199d52fe6be04566a36f2a47139a2f9.tar.gz
initial submission to aur4
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD30
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..be497229f17
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python-dot3k
+ pkgdesc = Library for the Display-o-tron Raspberry Pi add-on board from Pimoroni.
+ pkgver = r115.d543fb3
+ pkgrel = 1
+ url = https://github.com/pimoroni/dot3k
+ arch = armv6h
+ license = GPL
+ makedepends = python
+ makedepends = git
+ depends = python
+ depends = python-raspberry-gpio
+ depends = python-sn3218
+ depends = python-st7036
+ source = python-dot3k::git://github.com/pimoroni/dot3k.git
+ sha256sums = SKIP
+
+pkgname = python-dot3k
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..d5bfb1ba9b8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg
+src
+*.pkg.tar.xz
+python-dot3k
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..92184613fdc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Michael Goehler <somebody dot here at gmx dot de>
+
+pkgname=python-dot3k
+pkgver=r115.d543fb3
+pkgrel=1
+pkgdesc="Library for the Display-o-tron Raspberry Pi add-on board from Pimoroni."
+arch=('armv6h')
+url="https://github.com/pimoroni/dot3k"
+license=('GPL')
+depends=('python' 'python-raspberry-gpio' 'python-sn3218' 'python-st7036')
+makedepends=('python' 'git')
+source=($pkgname::git://github.com/pimoroni/dot3k.git)
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/$pkgname/python/library"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$pkgname/python/library"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: