From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- .../kicad-templates/kicad-templates-6.0.6.ebuild | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 sci-electronics/kicad-templates/kicad-templates-6.0.6.ebuild (limited to 'sci-electronics/kicad-templates/kicad-templates-6.0.6.ebuild') diff --git a/sci-electronics/kicad-templates/kicad-templates-6.0.6.ebuild b/sci-electronics/kicad-templates/kicad-templates-6.0.6.ebuild new file mode 100644 index 000000000000..fcdb94bb2f13 --- /dev/null +++ b/sci-electronics/kicad-templates/kicad-templates-6.0.6.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Electronic Schematic and PCB design tools project templates" +HOMEPAGE="https://github.com/kicad/kicad-templates" +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://gitlab.com/kicad/libraries/${PN}.git" + inherit git-r3 +else + MY_PV="${PV/_rc/-rc}" + MY_P="${PN}-${MY_PV}" + SRC_URI="https://gitlab.com/kicad/libraries/${PN}/-/archive/${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz" + + if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + fi + + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +LICENSE="CC-BY-SA-4.0" +SLOT="0" + +RDEPEND=">=sci-electronics/kicad-6.0.0" -- cgit v1.2.3