summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGzxhwq2021-12-27 14:00:54 +0800
committerGzxhwq2021-12-27 14:00:54 +0800
commit18cb0b1d3d30a106d9dd8065172ca8a9e4b1e3c7 (patch)
tree57a34a5674fb195f2908f15ce834df67e4c3feb3
parente69aba54ab07a6fb82f67e8ab7cdf2c1e53f19fa (diff)
downloadaur-18cb0b1d3d30a106d9dd8065172ca8a9e4b1e3c7.tar.gz
Update PKGBUILD
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c250619a703d..15ea1ce73138 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 = 1
+ pkgrel = 2
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 = https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/rules.zip
+ source = rules-202112262210.zip::https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202112262210/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 = 171b60ed73b282980460177fb6722ccc2dd80d89bb1aee41e3a4a530a680306d
+ sha256sums = dbb8c18fb5051ce4c6b5b110f4a5f7c8ee1c76e971a312de173e8264db715ee2
sha256sums = 1fd7c4f89bb0b89520b1615a5d6e1372a90a3b13ecb1c6669825c44cc52169b4
sha256sums = d5deeb9e02b2cf6e233da4369bb7d74e06054bd54ee9e62875f3342d7c931dbd
sha256sums = 5d0fac85c93516f45281f3e45071f4f98c4a9eadfbd72602129c888c823b79ef
diff --git a/PKGBUILD b/PKGBUILD
index c922fa990c9d..dcf1a910c0e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,10 +3,10 @@ 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=1
+pkgrel=2
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}')
+tag=$(git ls-remote --tags --refs --sort="version:refname" "$url".git | awk -F/ 'END{print$NF}')
license=('GPL')
provides=('xray-domain-list-community' 'xray-geoip' 'v2ray-domain-list-community' 'v2ray-geoip' 'v2ray-domain-list-custom' 'v2ray-geoip-custom' 'v2ray-rules-dat-git' 'vxray-rules-dat-git')
@@ -17,7 +17,7 @@ depends=('curl')
install="${pkgname}.install"
-source=("${url}/releases/latest/download/rules.zip"
+source=("rules-${tag}.zip"::"${url}/releases/download/${tag}/rules.zip"
"${pkgname}"
"${pkgname}.install"
"${pkgname}.sysusers"
@@ -25,7 +25,7 @@ source=("${url}/releases/latest/download/rules.zip"
"${pkgname}.service"
"${pkgname}.timer")
-sha256sums=($(curl -sL ${url}/releases/latest/download/rules.zip.sha256sum | awk '{print $1}')
+sha256sums=($(curl -sL "${url}/releases/download/${tag}/rules.zip.sha256sum" | awk '{print $1}')
'1fd7c4f89bb0b89520b1615a5d6e1372a90a3b13ecb1c6669825c44cc52169b4'
'd5deeb9e02b2cf6e233da4369bb7d74e06054bd54ee9e62875f3342d7c931dbd'
'5d0fac85c93516f45281f3e45071f4f98c4a9eadfbd72602129c888c823b79ef'