dev-embedded/arduino-cli: new package, add 0.34.2

Signed-off-by: Artemis Everfree <artemis@artemis.sh>
This commit is contained in:
Artemis Everfree
2023-10-04 01:30:47 -07:00
parent 80b337407d
commit 2386dd2b4e
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST arduino-cli-0.34.2-vendor.tar.xz 2399168 BLAKE2B 22d0050aad84bbed7699d287c6b46293c7b0af0369809cb1c5291bda73c661a1fa9e6b5f882a86936452b51c2f8d58c5c157d13f96c22daec4fb6728594d48eb SHA512 9cf199eedf95007d5dd033c9f75c3bb54af152a36f6d353ae3237c2b3b31d44852b8b139983aaf35caabe77c0302a84f95b14481157c5638ca42e91ab03e9327
DIST arduino-cli-0.34.2.tar.gz 10335801 BLAKE2B 2552d31699cdb0a8d3ded32e14a345354ab17e74e2085941c48cd69e5345b08224f84b3bf6d7fe543c895a3c2091a6114f557b48a141455bf9c3608f0ea489ab SHA512 5d16a2e45f31fc35ffe75fbaabeac62b6c8aca6d0151e48ebedf27325b757473ea55b7883f8f727df951b1230a671ad4bf3603bd600dfca8f7154f3189f2ca12

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Next-generation arduino command line tool"
HOMEPAGE="https://arduino.github.io/arduino-cli/latest/"
SRC_URI="
https://github.com/arduino/arduino-cli/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
https://pkg.artemis.sh/gentoo/pkg-deps/dev-embedded/arduino-cli/${P}-vendor.tar.xz
"
LICENSE="Apache-2.0 BSD BSD-2 GPL-2 GPL-3 LGPL-3 MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
src_compile() {
ego build -tags xversion \
-ldflags "-X github.com/arduino/arduino-cli/version.versionString=${PV}"
}
src_install() {
dobin arduino-cli
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>artemis@artemis.sh</email>
<description>Primary maintainer</description>
<name>Artemis Everfree</name>
</maintainer>
<upstream>
<remote-id type="github">arduino/arduino-cli</remote-id>
</upstream>
</pkgmetadata>