summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkinoKaede2020-11-27 12:41:48 +0800
committerAkinoKaede2020-11-27 12:42:43 +0800
commit989dfdf632a3058a6e62ffb06ef67db2b6b4997d (patch)
tree0cace7bb75a2c252d03d4ddbac9a5ad5aadb36f4
parent8d180d2aed501a01e16dcb2405b86a00444962c0 (diff)
downloadaur-989dfdf632a3058a6e62ffb06ef67db2b6b4997d.tar.gz
Downdload LICENSE by tag
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 797863bfe534..cd4422eb409c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,7 +12,7 @@ pkgbase = xray-bin
conflicts = xray
backup = etc/xray/config.json
source = xray-bin-1.0.0.tar.gz::https://github.com/XTLS/Xray-core/releases/download/v1.0.0/Xray-linux-64.zip
- source = LICENSE::https://raw.githubusercontent.com/XTLS/Xray-core/main/LICENSE
+ source = LICENSE::https://raw.githubusercontent.com/XTLS/Xray-core/v1.0.0/LICENSE
source = config.json
source = vpoint_socks_vmess.json
source = vpoint_vmess_freedom.json
diff --git a/PKGBUILD b/PKGBUILD
index 96ce1c2895ae..38f0d96d208a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
# Maintainer: AkinoKaede <autmaple@protonmail.com>
-# Special thanks: Felix Yan <felixonmars@archlinux.org>
+# Special thanks: Felix Yan <felixonmars@archlinux.org>
# Contributor: pandada8 <pandada8@gmail.com>
pkgname=xray-bin
@@ -15,7 +15,7 @@ provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/XTLS/Xray-core/releases/download/v$pkgver/Xray-linux-64.zip"
- "LICENSE::https://raw.githubusercontent.com/XTLS/Xray-core/main/LICENSE"
+ "LICENSE::https://raw.githubusercontent.com/XTLS/Xray-core/v$pkgver/LICENSE"
"config.json"
"vpoint_socks_vmess.json"
"vpoint_vmess_freedom.json"