mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 06:38:44 +01:00
Update to 25.9.11
This commit is contained in:
parent
efe3f19542
commit
0b4552b4a0
3 changed files with 45 additions and 10 deletions
14
.SRCINFO
14
.SRCINFO
|
|
@ -1,8 +1,9 @@
|
|||
pkgbase = 3x-ui-xray-core
|
||||
pkgdesc = Xray, Penetrates Everything. Also the best v2ray-core (for 3x-ui)
|
||||
pkgver = 25.9.10
|
||||
pkgdesc = Xray, Penetrates Everything. Also the best v2ray-core (for *x-ui)
|
||||
pkgver = 25.9.11
|
||||
pkgrel = 1
|
||||
url = https://github.com/XTLS/Xray-core
|
||||
install = 3x-ui-xray-core.install
|
||||
arch = aarch64
|
||||
arch = armv7h
|
||||
arch = i686
|
||||
|
|
@ -11,9 +12,12 @@ pkgbase = 3x-ui-xray-core
|
|||
makedepends = go
|
||||
depends = glibc
|
||||
provides = v2ray
|
||||
provides = x-ui-xray-core
|
||||
conflicts = v2ray
|
||||
conflicts = x-ui-xray-core
|
||||
options = !debug
|
||||
source = https://github.com/XTLS/Xray-core/archive/v25.9.10/3x-ui-xray-core-25.9.10.tar.gz
|
||||
sha256sums = c26b1e3533540f63acb641cea9af660fae60bd50b6ee4a9904858a073161f3dd
|
||||
b2sums = 4b4c6e76009f09ac12376a8bd338d4fba82eb85b48266685463500b6db9ae04c16c6c7113e3996d3798e14a1492ebdec394f851535b0adae630c975307255ea1
|
||||
source = https://github.com/XTLS/Xray-core/archive/v25.9.11/3x-ui-xray-core-25.9.11.tar.gz
|
||||
sha256sums = 9bccd2681183698bf860b1af5407f97b4b60090324aa3ef1546e446612d44e1f
|
||||
b2sums = 7f01e7c08321889249170ad02ba91b187bee29fe069a670345250af2ecd2a8172723acbd107300813059bf0f839eb3e0b77ace6f0e54860b1bee982b09a3a92f
|
||||
|
||||
pkgname = 3x-ui-xray-core
|
||||
|
|
|
|||
29
3x-ui-xray-core.install
Normal file
29
3x-ui-xray-core.install
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
post_install() {
|
||||
echo "==> Downloading latest geo files..."
|
||||
|
||||
repos=(
|
||||
"Loyalsoldier/v2ray-rules-dat"
|
||||
"chocolate4u/Iran-v2ray-rules:_IR"
|
||||
"runetfreedom/russia-v2ray-rules-dat:_RU"
|
||||
)
|
||||
|
||||
for repo in "${repos[@]}"; do
|
||||
user_suffix="${repo%%:*}"
|
||||
suffix="${repo#*:}"
|
||||
[ "$suffix" = "$repo" ] && suffix=""
|
||||
|
||||
for f in geoip geosite; do
|
||||
curl -fSL "https://github.com/$user_suffix/releases/latest/download/$f.dat" \
|
||||
-o "/usr/lib/x-ui/bin/${f}${suffix}.dat" || echo "Failed to fetch $f from $user_suffix"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
find /usr/lib/x-ui/bin -maxdepth 1 -type f -name 'geoip{,_IR,_RU}.dat' -delete
|
||||
find /usr/lib/x-ui/bin -maxdepth 1 -type f -name 'geosite{,_IR,_RU}.dat' -delete
|
||||
}
|
||||
12
PKGBUILD
12
PKGBUILD
|
|
@ -1,19 +1,21 @@
|
|||
# Maintainer: Nebulosa <nebulosa2007-at-yandex-dot-ru>
|
||||
|
||||
pkgname=3x-ui-xray-core
|
||||
pkgver=25.9.10
|
||||
pkgver=25.9.11
|
||||
pkgrel=1
|
||||
pkgdesc="Xray, Penetrates Everything. Also the best v2ray-core (for 3x-ui)"
|
||||
pkgdesc="Xray, Penetrates Everything. Also the best v2ray-core (for *x-ui)"
|
||||
arch=(aarch64 armv7h i686 x86_64)
|
||||
url="https://github.com/XTLS/Xray-core"
|
||||
license=(MPL-2.0)
|
||||
depends=(glibc)
|
||||
makedepends=(go)
|
||||
provides=(v2ray)
|
||||
provides=(v2ray x-ui-xray-core)
|
||||
conflicts=(v2ray x-ui-xray-core)
|
||||
options=(!debug)
|
||||
install=$pkgname.install
|
||||
source=($url/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
sha256sums=('c26b1e3533540f63acb641cea9af660fae60bd50b6ee4a9904858a073161f3dd')
|
||||
b2sums=('4b4c6e76009f09ac12376a8bd338d4fba82eb85b48266685463500b6db9ae04c16c6c7113e3996d3798e14a1492ebdec394f851535b0adae630c975307255ea1')
|
||||
sha256sums=('9bccd2681183698bf860b1af5407f97b4b60090324aa3ef1546e446612d44e1f')
|
||||
b2sums=('7f01e7c08321889249170ad02ba91b187bee29fe069a670345250af2ecd2a8172723acbd107300813059bf0f839eb3e0b77ace6f0e54860b1bee982b09a3a92f')
|
||||
|
||||
build() {
|
||||
cd Xray-core-$pkgver
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue