blob: a7bd0bf86990775aa935102027658a2211770da1 (
plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: S garnica < swhaat at github >
# Contributor: Will Price <will.price94+aur@gmail.com>
# Contributor: Brice Waegeneire <bricewge at gmail dot com>
pkgname=platformio-git
_pkgname=platformio-core
pkgver=v4.0.1.r1.gadde5e6a
pkgrel=1
pkgdesc="A cross-platform code builder and library manager"
arch=('any')
url="http://platformio.org/"
license=('GPL')
provides=('platformio')
depends=('python-setuptools'
'python-bottle'
'python-click'
'python-colorama'
'python-lockfile'
'python-pyserial'
'python-requests'
'python-tabulate'
'python-semantic-version')
optdepends=('energia: For MSP430 based projects'
'arduino: For Arduino based projects')
source=('git+https://github.com/platformio/platformio-core.git')
md5sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build()
{
cd "${srcdir}/${_pkgname}"
python setup.py build
}
package() {
cd "$srcdir/${_pkgname}"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|