New package: v2ray-domain-list-community-20220809072217
Testing the changes
- I tested the changes in this PR: YES
New package
- This new package conforms to the quality requirements: YES
Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures
- i686 (native masterdir)
- i686 (crossbuild)
Notes:
-
This package adds geosites for routing purposes in New package: v2ray-4.44.0 #31653, which are also needed by New package: v2rayA-1.5.9.1698.1 #38528 .
-
After solving v2ray build failure, I think this package can be added to
v2ray'sdependslist.
use something like this to fix the 2nd bullet point
https://github.com/void-linux/void-packages/blob/a15f0148180c7cb23809080cc14ccdade54e0087/srcpkgs/kubernetes-kind/template#L18
use something like this to fix the 2nd bullet point
https://github.com/void-linux/void-packages/blob/a15f0148180c7cb23809080cc14ccdade54e0087/srcpkgs/kubernetes-kind/template#L18
Done.
I forgot to fetch LICENSE and install it. I will update this commit later.
this is a bit cleaner
# Template file for 'v2ray-domain-list-community'
pkgname=v2ray-domain-list-community
version=20220809072217
revision=1
build_style=fetch
short_desc="Community managed domain list for Project V"
maintainer="ketlrznt <[email protected]>"
license="MIT"
homepage="https://github.com/v2fly/domain-list-community"
distfiles="https://github.com/v2fly/domain-list-community/releases/download/${version}/dlc.dat
https://raw.githubusercontent.com/v2fly/domain-list-community/master/LICENSE"
checksum="fb7312ba36be5865b14858f44dff3dadf996eb5623bd23d63ead448feb40622d
b9d84a22870d3f21c91a4c6e410c9cc51d00902f5233ad0c84011479244bf7d2"
do_install() {
vinstall dlc.dat 0644 usr/share/v2ray geosite.dat
vlicense LICENSE
}
this is a bit cleaner
# Template file for 'v2ray-domain-list-community' pkgname=v2ray-domain-list-community version=20220809072217 revision=1 build_style=fetch short_desc="Community managed domain list for Project V" maintainer="ketlrznt <[email protected]>" license="MIT" homepage="https://github.com/v2fly/domain-list-community" distfiles="https://github.com/v2fly/domain-list-community/releases/download/${version}/dlc.dat https://raw.githubusercontent.com/v2fly/domain-list-community/master/LICENSE" checksum="fb7312ba36be5865b14858f44dff3dadf996eb5623bd23d63ead448feb40622d b9d84a22870d3f21c91a4c6e410c9cc51d00902f5233ad0c84011479244bf7d2" do_install() { vinstall dlc.dat 0644 usr/share/v2ray geosite.dat vlicense LICENSE }
Thank you! As a packaging newbie I refered Manual and xnew to write template, section Optional variables indicates that distfile should be compressed data. I don't know such usage (fetch build style). Now I know it.