diff options
author | Will Price | 2016-01-09 21:38:06 +0000 |
---|---|---|
committer | Will Price | 2016-01-09 21:38:17 +0000 |
commit | 1f10bba337f565c4c278a2470da5c0200e9d908b (patch) | |
tree | 8a5e04d42e52c594f21c713b003ddb6f5aab4974 | |
parent | 0e94a09269fcf2e98269b89da9301ec8f46dd792 (diff) | |
download | aur-1f10bba337f565c4c278a2470da5c0200e9d908b.tar.gz |
Integrate updates from bricewge
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 37 |
3 files changed, 34 insertions, 22 deletions
@@ -1,14 +1,19 @@ +# Generated by mksrcinfo v8 +# Sat Jan 9 21:38:09 UTC 2016 pkgbase = platformio-git pkgdesc = A cross-platform code builder and library manager - pkgver = 20140913 + pkgver = v2.1.1.r554.g3d0aad6 pkgrel = 2 - url = http://platformio.ikravets.com/ - arch = x86_64 - arch = i686 + url = http://platformio.com/ + arch = any license = GPL depends = python2 - depends = python2-click + depends = python2-click-5.1 depends = python2-bottle + depends = python2-lockfile + depends = python2-requests + depends = python2-colorama + depends = python2-pyserial optdepends = energia: For MSP430 based projects optdepends = arduino: For Arduino based projects source = git+https://github.com/ivankravets/platformio.git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..5880221bf79a --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg +src +platformio +*.tar.xz @@ -1,28 +1,31 @@ # Maintainer: Will Price <will.price94+aur@gmail.com> +# Contributor: Brice Waegeneire <bricewge at gmail dot com> + pkgname=platformio-git -pkgver=20140913 +pkgver=v2.1.1.r554.g3d0aad6 pkgrel=2 pkgdesc="A cross-platform code builder and library manager" -arch=('x86_64' 'i686') -url="http://platformio.ikravets.com/" +arch=('any') +url="http://platformio.com/" license=('GPL') -groups=() -depends=('python2' 'python2-click' 'python2-bottle') -makedepends=() -checkdepends=() +depends=('python2' + 'python2-click-5.1' + 'python2-bottle' + 'python2-lockfile' + 'python2-requests' + 'python2-colorama' + 'python2-pyserial') optdepends=('energia: For MSP430 based projects' 'arduino: For Arduino based projects') -provides=() -conflicts=() -replaces=() -backup=() -options=() -install= -changelog= source=('git+https://github.com/ivankravets/platformio.git') md5sums=('SKIP') -noextract=() + +pkgver() { + cd "${pkgname%%-git}" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + package() { - cd "$srcdir/${pkgname%%-git}" - python2 setup.py install --root="$pkgdir/" --optimize=1 + cd "$srcdir/${pkgname%%-git}" + python2 setup.py install --root="$pkgdir/" --optimize=1 } |