1
0

dev-libs/v2ray-domain-list-community-bin: new package

This commit is contained in:
Puqns67 2023-05-28 21:20:10 +08:00
parent 01862d16a3
commit e8dc71a2ca
Signed by: Puqns67
GPG Key ID: 9669DF042554F536
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST v2ray-geoip-bin-202305250042.dat 9919944 BLAKE2B 321be01d10a9177f56e81d227882bbf9ad3801fa56e2ee160811e8c87f4c65b779232c0acd5145ed8a7277485bf0ec5ae3b95e87c26145b687f45b2445fdabdd SHA512 9eee5150985af5cc826119b0d082d9f043cf0b3ad451bda60936dc487316e9291c32f16a2792e60e725d04ac6beb16460dbcb48d802308b05d0172714ef05f70

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>me@puqns67.icu</email>
<name>Puqns67</name>
</maintainer>
<upstream>
<remote-id type="github">v2fly/geoip</remote-id>
</upstream>
</pkgmetadata>

View File

@ -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
}