summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaruue2024-03-29 19:42:13 +0800
committerHaruue2024-03-29 19:42:13 +0800
commit4883f128232dc2d07af8d7e03bafa2d9ae088748 (patch)
treedf1256de0fc89cc4ef002b2986e8ec231241fa24
parentd1abdc03a4dbf7ec0d0c9a6233cc29f1cdf7e808 (diff)
downloadaur-4883f128232dc2d07af8d7e03bafa2d9ae088748.tar.gz
chore: add {v2ray,meta}-rules-dat as optdepends
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 4 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index baeb1e415efb..37a7e4ea084d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,6 +6,8 @@ pkgbase = hysteria-bin
install = hysteria.install
arch = x86_64
license = MIT
+ optdepends = v2ray-rules-dat: geoip/geosite data originating from V2Ray
+ optdepends = meta-rules-dat: geoip/geosite data originating from MetaCubeX
provides = hysteria
conflicts = hysteria
source = hysteria-2.4.0-1-linux-amd64::https://github.com/apernet/hysteria/releases/download/app/v2.4.0/hysteria-linux-amd64
diff --git a/PKGBUILD b/PKGBUILD
index 4ff3f6ea350c..90c919efd64c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,6 +11,8 @@ url='https://hysteria.network/'
license=('MIT')
provides=('hysteria')
conflicts=('hysteria')
+optdepends=('v2ray-rules-dat: geoip/geosite data originating from V2Ray'
+ 'meta-rules-dat: geoip/geosite data originating from MetaCubeX')
install=$_pkgbase.install
source=("$_pkgbase-$pkgver-$pkgrel-linux-amd64::https://github.com/apernet/hysteria/releases/download/app/v$pkgver/hysteria-linux-amd64"
"$_pkgbase-$pkgver-$pkgrel-LICENSE.md::https://raw.githubusercontent.com/apernet/hysteria/app/v$pkgver/LICENSE.md"