diff --git a/dev-libs/v2ray-geoip-bin/Manifest b/dev-libs/v2ray-geoip-bin/Manifest new file mode 100644 index 0000000..55de84d --- /dev/null +++ b/dev-libs/v2ray-geoip-bin/Manifest @@ -0,0 +1 @@ +DIST v2ray-geoip-bin-202305250042.dat 9919944 BLAKE2B 321be01d10a9177f56e81d227882bbf9ad3801fa56e2ee160811e8c87f4c65b779232c0acd5145ed8a7277485bf0ec5ae3b95e87c26145b687f45b2445fdabdd SHA512 9eee5150985af5cc826119b0d082d9f043cf0b3ad451bda60936dc487316e9291c32f16a2792e60e725d04ac6beb16460dbcb48d802308b05d0172714ef05f70 diff --git a/dev-libs/v2ray-geoip-bin/metadata.xml b/dev-libs/v2ray-geoip-bin/metadata.xml new file mode 100644 index 0000000..db48506 --- /dev/null +++ b/dev-libs/v2ray-geoip-bin/metadata.xml @@ -0,0 +1,11 @@ + + + + + me@puqns67.icu + Puqns67 + + + v2fly/geoip + + diff --git a/dev-libs/v2ray-geoip-bin/v2ray-geoip-bin-202305250042.ebuild b/dev-libs/v2ray-geoip-bin/v2ray-geoip-bin-202305250042.ebuild new file mode 100644 index 0000000..2dce71e --- /dev/null +++ b/dev-libs/v2ray-geoip-bin/v2ray-geoip-bin-202305250042.ebuild @@ -0,0 +1,26 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="GeoIP for V2Ray." +HOMEPAGE="https://github.com/v2fly/geoip" +SRC_URI="https://github.com/v2fly/geoip/releases/download/${PV}/geoip.dat -> ${P}.dat" + +LICENSE="CC-BY-SA-4.0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +SLOT="0" + +RESTRICT="mirror" + +DEPEND="" +RDEPEND="${DEPEND} + !net-libs/v2ray-geoip" +BDEPEND="" + +S="${WORKDIR}" + +src_install() { + insinto /usr/share/v2ray + newins "${DISTDIR}/${P}.dat" geoip.dat +}