Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View PKGBUILD
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
# Creator: Gary van der Merwe <garyvdm@gmail.com>
pkgname=ino
pkgver=0.3.6
pkgrel=3
pkgdesc="Command line toolkit for working with Arduino hardware"
arch=(any)
url="http://inotool.org/"
license=('MIT')
depends=('python2' 'python2-pyserial' 'python2-jinja' 'python2-configobj' 'python2-six'
'arduino' 'picocom' 'avrdude')
options=(!emptydirs)
source=(http://pypi.python.org/packages/source/i/${pkgname}/${pkgname}-${pkgver}.tar.gz 'fix-avrdude-conf.patch')
md5sums=('d2ca04f862ded04b19a5473467aff146' 'cb70daaa535a5eb1d14f932014be70f4')
 
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 < "$srcdir/fix-avrdude-conf.patch"
}
 
package() {
cd "$srcdir/$pkgname-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
}
 
# vim:set ts=2 sw=2 et:
View PKGBUILD
1 2 3 4 5 6 7 8 9 10
--- ino-0.3.6/ino/commands/upload.py 2013-09-23 19:27:44.000000000 +0200
+++ ino-0.3.6-fix-avrdude/ino/commands/upload.py 2014-04-18 15:18:54.395558631 +0200
@@ -42,6 +42,7 @@ class Upload(Command):
conf_places = self.e.arduino_dist_places(['hardware', 'tools'])
conf_places.append('/etc/avrdude') # fallback to system-wide conf on Fedora
+ conf_places.append('/etc') # fallback to system-wide conf on Arch
self.e.find_file('avrdude.conf', places=conf_places)
else:
self.e.find_arduino_tool('avrdude', ['hardware', 'tools', 'avr', 'bin'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.