# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit go-module DESCRIPTION="Community managed domain list for V2Ray." HOMEPAGE="https://github.com/v2fly/domain-list-community" if [[ ${PV} == *9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/v2fly/domain-list-community.git" else EGO_SUM=( # module deps for non-live version ) go-module_set_globals SRC_URI="https://github.com/v2fly/domain-list-community/archive/refs/tags/${PV#*_p}.tar.gz -> ${P}.tar.gz ${EGO_SUM_SRC_URI}" KEYWORDS="~amd64 ~arm ~arm64 ~x86" S="${WORKDIR%/}/${PN#v2ray-}-${PV#*_p}" fi LICENSE="MIT" SLOT="0" RDEPEND=" !dev-libs/v2ray-domain-list-community-bin !