1 # Copyright 2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION
="Enhanced edition of V2Ray rules dat files."
7 HOMEPAGE
="https://github.com/Loyalsoldier/v2ray-rules-dat"
9 https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/${PV}/geosite.dat -> ${P}-geosite.dat
10 https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/${PV}/geoip.dat -> ${P}-geoip.dat
15 KEYWORDS
="~amd64 ~arm ~arm64 ~riscv ~x86"
16 IUSE
="+geosite +geoip"
23 insinto
/usr
/share
/geosite
/
24 newins
"${DISTDIR}/${P}-geosite.dat" loyalsoldier.dat
27 insinto
/usr
/share
/geoip
/
28 newins
"${DISTDIR}/${P}-geoip.dat" loyalsoldier.dat