void-packages/srcpkgs/platformio/template
2020-10-10 10:22:15 -04:00

22 lines
892 B
Bash

# Template file for 'platformio'
pkgname=platformio
version=4.3.4
revision=3
wrksrc="platformio-core-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-bottle python3-click python3-colorama python3-marshmallow
python3-pyelftools python3-pyserial python3-requests
python3-semanticversion python3-setuptools python3-tabulate"
short_desc="Ecosystem for embedded development"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="Apache-2.0"
homepage="https://github.com/platformio/platformio-core"
changelog="https://raw.githubusercontent.com/platformio/platformio-core/develop/HISTORY.rst"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=8c0cf78f855ba0ddc629176c900706fa2d2a0c2d92053e9a6a02f7e86f770725
post_install() {
vinstall scripts/99-platformio-udev.rules 644 usr/lib/udev/rules.d
rm -rf ${DESTDIR}/${py3_sitelib}/scripts
}