# Copyright 2021-2024 Robert Günzler # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cargo DESCRIPTION="base16 colorscheme manager" HOMEPAGE="https://github.com/misterio77/flavours" if [[ ${PV} = *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/misterio77/flavours" else SRC_URI="https://github.com/Misterio77/flavours/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz $(cargo_crate_uris ${CRATES})" KEYWORDS="~amd64" fi LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" RESTRICT="network-sandbox" #IUSE="" DEPEND="" RDEPEND="${DEPEND}" BDEPEND="virtual/rust" src_unpack() { if [[ ${PV} = *9999* ]]; then git-r3_src_unpack cargo_live_src_unpack else cargo_src_unpack fi }