summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad-templates/kicad-templates-6.0.0_rc1.ebuild6
-rw-r--r--sci-electronics/kicad-templates/kicad-templates-9999.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/sci-electronics/kicad-templates/kicad-templates-6.0.0_rc1.ebuild b/sci-electronics/kicad-templates/kicad-templates-6.0.0_rc1.ebuild
index 348280a3c4d3..73e469b74c1b 100644
--- a/sci-electronics/kicad-templates/kicad-templates-6.0.0_rc1.ebuild
+++ b/sci-electronics/kicad-templates/kicad-templates-6.0.0_rc1.ebuild
@@ -14,7 +14,11 @@ 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"
- KEYWORDS="~amd64 ~arm64 ~x86"
+
+ if [[ ${PV} != *_rc ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+ fi
+
S="${WORKDIR}/${PN}-${MY_PV}"
fi
diff --git a/sci-electronics/kicad-templates/kicad-templates-9999.ebuild b/sci-electronics/kicad-templates/kicad-templates-9999.ebuild
index 348280a3c4d3..73e469b74c1b 100644
--- a/sci-electronics/kicad-templates/kicad-templates-9999.ebuild
+++ b/sci-electronics/kicad-templates/kicad-templates-9999.ebuild
@@ -14,7 +14,11 @@ 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"
- KEYWORDS="~amd64 ~arm64 ~x86"
+
+ if [[ ${PV} != *_rc ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~x86"
+ fi
+
S="${WORKDIR}/${PN}-${MY_PV}"
fi