diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 9 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore index 5880221bf79a..08c92ebd2ed5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ pkg src -platformio +platformio* *.tar.xz @@ -2,13 +2,15 @@ # Contributor: Brice Waegeneire <bricewge at gmail dot com> pkgname=platformio-git -pkgver=v2.8.6.r596.g0f300a2 -pkgrel=3 +_pkgname=platformio-core +pkgver=v3.3.0.r296.gaa1c7609 +pkgrel=1 pkgdesc="A cross-platform code builder and library manager" arch=('any') -url="http://platformio.com/" +url="http://platformio.org/" license=('GPL') depends=('python2' + 'python2-arrow' 'python2-bottle' 'python2-click-5.1' 'python2-colorama' @@ -18,15 +20,15 @@ depends=('python2' 'python2-semantic-version') optdepends=('energia: For MSP430 based projects' 'arduino: For Arduino based projects') -source=('git+https://github.com/ivankravets/platformio.git') +source=('git+https://github.com/platformio/platformio-core.git') md5sums=('SKIP') pkgver() { - cd "${pkgname%%-git}" + cd "${_pkgname}" git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { - cd "$srcdir/${pkgname%%-git}" + cd "$srcdir/${_pkgname}" python2 setup.py install --root="$pkgdir/" --optimize=1 } |