blob: 281e219ebcea55329f78aa3704c60bab2ae29246 (
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
43
44
45
46
47
|
# 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=v6.1.10.r12.g00409fc0
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-pyserial'
'python-requests'
'python-semantic-version'
'python-tabulate'
'python-pyelftools'
'python-marshmallow')
optdepends=('energia: For MSP430 based projects'
'arduino: For Arduino based projects')
makedepends=('git')
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
install -Dm644 "${srcdir}/${_pkgname}/build/lib/platformio/assets/system/99-platformio-udev.rules" \
"${pkgdir}/etc/udev/rules.d/99-platformio-udev.rules"
}
|