Skip to content

Instantly share code, notes, and snippets.

@bricewge
Created January 9, 2016 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bricewge/9be843a9a902dcccf5cd to your computer and use it in GitHub Desktop.
Save bricewge/9be843a9a902dcccf5cd to your computer and use it in GitHub Desktop.
AUR platformio-git
# Maintainer: Will Price <will.price94+aur@gmail.com>
# Contributor: Brice Waegeneire <bricewge at gmail dot com>
pkgname=platformio-git
_pkgname=platformio
pkgver=v2.1.1.r554.g3d0aad6
pkgrel=1
pkgdesc="A cross-platform code builder and library manager"
arch=('x86_64' 'i686')
url="http://platformio.com/"
license=('GPL')
groups=()
depends=('python2'
'python2-bottle'
'python2-click-5.1'
'python2-lockfile'
'python2-requests'
'python2-colorama'
'python2-pyserial')
makedepends=()
checkdepends=()
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 describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/${pkgname%%-git}"
python2 setup.py install --root="$pkgdir/" --optimize=1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment