summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGzxhwq2022-01-03 09:05:13 +0800
committerGzxhwq2022-01-03 09:05:13 +0800
commitfc3b6db1170432f91296de18bc7818bf64e9c5ed (patch)
tree1cd4e73cb29566b53a8dc226e662acd586ad4a18
parentdc4f65ca84e96aca7979e03fc5c34d01993141e3 (diff)
downloadaur-fc3b6db1170432f91296de18bc7818bf64e9c5ed.tar.gz
Remove some mirrors
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD4
-rwxr-xr-xv2ray-rules-dat-autoupdate6
3 files changed, 6 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 11956a6bebe2..e588a6e52fec 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = v2ray-rules-dat-autoupdate
pkgdesc = Enhanced edition of V2Ray and Xray rules dat files, compatible with Trojan-Go. Automaitcally update.
- pkgver = 1.1
- pkgrel = 4
+ pkgver = 1.2
+ pkgrel = 1
url = https://github.com/Loyalsoldier/v2ray-rules-dat
install = v2ray-rules-dat-autoupdate.install
arch = any
@@ -24,14 +24,14 @@ pkgbase = v2ray-rules-dat-autoupdate
conflicts = v2ray-geoip-custom
conflicts = v2ray-rules-dat-git
conflicts = vxray-rules-dat-git
- source = rules-202112282210.zip::https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202112282210/rules.zip
+ source = rules-202201022210.zip::https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202201022210/rules.zip
source = v2ray-rules-dat-autoupdate
source = v2ray-rules-dat-autoupdate.install
source = v2ray-rules-dat-autoupdate.sysusers
source = v2ray-rules-dat-autoupdate.tmpfiles
source = v2ray-rules-dat-autoupdate.service
source = v2ray-rules-dat-autoupdate.timer
- sha256sums = 31f790c55e4f050f8c0b66b0a2841a7e4f7059ac0fafd2ad81954f658ec41944
+ sha256sums = ea0a3eb27b9c14f53cb6922b05194b2f575d0bf35b1f8781bcdef28208f354e5
sha256sums = 1fd7c4f89bb0b89520b1615a5d6e1372a90a3b13ecb1c6669825c44cc52169b4
sha256sums = d5deeb9e02b2cf6e233da4369bb7d74e06054bd54ee9e62875f3342d7c931dbd
sha256sums = 5d0fac85c93516f45281f3e45071f4f98c4a9eadfbd72602129c888c823b79ef
diff --git a/PKGBUILD b/PKGBUILD
index dc5c0d3d18b7..06c96c0113c7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
pkgname=v2ray-rules-dat-autoupdate
_pkgname=v2ray-rules-dat
pkgdesc="Enhanced edition of V2Ray and Xray rules dat files, compatible with Trojan-Go. Automaitcally update."
-pkgver=1.1
-pkgrel=4
+pkgver=1.2
+pkgrel=1
arch=('any')
url="https://github.com/Loyalsoldier/v2ray-rules-dat"
tag=$(git ls-remote --tags --refs --sort="version:refname" "$url".git | awk -F/ 'END{print$NF}')
diff --git a/v2ray-rules-dat-autoupdate b/v2ray-rules-dat-autoupdate
index f4cc8e41ce89..66ae30495d13 100755
--- a/v2ray-rules-dat-autoupdate
+++ b/v2ray-rules-dat-autoupdate
@@ -5,7 +5,6 @@ set -e
FastGit="https://hub.fastgit.org/Loyalsoldier/v2ray-rules-dat/releases/latest"
GitHub="https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download"
JsDelivr="https://cdn.jsdelivr.net/gh/Loyalsoldier/v2ray-rules-dat@release"
-CfCDN="https://cfgit.cern.ga/Loyalsoldier/v2ray-rules-dat/releases/latest/download"
download_files() {
echo "Fetching rules.zip"
@@ -15,8 +14,6 @@ download_files() {
bsdtar -xf ./rules.zip
rm -vf $(find . -maxdepth 1 -type f ! -name "geo*.dat")
-# cp -vf --reflink=auto *.dat /usr/share/v2ray/
-# echo /usr/share/v2ray/ /usr/share/xray/ | xargs -n 1 cp -vf --reflink *.dat
}
case "${1}" in
@@ -26,9 +23,6 @@ case "${1}" in
"jsdelivr" | "js")
download_files $JsDelivr
;;
-"cfcdn" | "cf")
- download_files $CfCDN
- ;;
*)
download_files $GitHub
;;