[lilac] updated to 202509182211-2

This commit is contained in:
lilac 2025-09-30 01:37:57 +08:00
parent 303c9d3c5b
commit c60e3b9b98
2 changed files with 34 additions and 45 deletions

View file

@ -1,25 +1,21 @@
pkgbase = v2ray-rules-dat
pkgdesc = Enhanced edition of V2Ray rules dat files
pkgver = 202407152211
pkgrel = 1
pkgdesc = Enhanced edition of V2Ray rules dat files.
pkgver = 202509182211
pkgrel = 2
url = https://github.com/Loyalsoldier/v2ray-rules-dat
arch = any
license = CC-BY-SA-4.0
license = MIT
license = GPL-3.0-or-later
license = GPL3
provides = v2ray-domain-list-community
provides = v2ray-geoip
provides = xray-geoip
provides = xray-geosite
conflicts = v2ray-domain-list-community
conflicts = v2ray-geoip
source = https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202407152211/geoip.dat
source = https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202407152211/geosite.dat
source = https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202407152211/geoip.dat.sha256sum
source = https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202407152211/geosite.dat.sha256sum
source = https://raw.githubusercontent.com/Loyalsoldier/domain-list-custom/master/LICENSE
sha256sums = fd224548b0309f0810b03c13ae61cc41a6968fe6b1639c82de371485200fbcbb
sha256sums = 5e15b0074a1e55a5f4b4fa6817fa8b1d12f5c6e21f906079957070af89296751
sha256sums = 2a189edbd913172257960946fea01b430e552a7d2d3eb3c6b6dd430be37633fc
sha256sums = c1b63cc67749c46879783c32c9abc061af19e8d4ea744cff6d1f891545a0131c
sha256sums = 35f18e0331a1ecd1835400c50e3b367c2ce09f6c13d91c4a0f3cb11f71d3bbc3
conflicts = xray-geoip
conflicts = xray-geosite
source = geoip-202509182211.dat::https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202509182211/geoip.dat
source = geosite-202509182211.dat::https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202509182211/geosite.dat
sha256sums = 52c56c5702f8540106b8cbdc0c448fb83844fb93036ae16100b878d92ef1580d
sha256sums = f05b3227ec0f8cb9515fb1131a3d35ae2ca45ee53ddc14016adf03123b0e1a86
pkgname = v2ray-rules-dat

View file

@ -1,34 +1,27 @@
# Maintainer: Zenvie <134689569+Zenvie@users.noreply.github.com>
# Maintainer: DeepChirp <DeepChirp@outlook.com>
# Maintainer: hour-keeper <lok-ation@outlook.com>
# Contributor: Zenvie <134689569+Zenvie@users.noreply.github.com>
# Contributor: Felix Yan <felixonmars@archlinux.org>
pkgname=v2ray-rules-dat
pkgver=202407152211
pkgrel=1
pkgdesc="Enhanced edition of V2Ray rules dat files"
arch=(any)
url="https://github.com/Loyalsoldier/$pkgname"
license=(CC-BY-SA-4.0 MIT GPL-3.0-or-later)
pkgver=202509182211
pkgrel=2
pkgdesc="Enhanced edition of V2Ray rules dat files."
arch=('any')
_author=Loyalsoldier
url="https://github.com/${_author}/${pkgname}"
license=('GPL3')
provides=('v2ray-domain-list-community' 'v2ray-geoip' 'xray-geoip' 'xray-geosite')
conflicts=('v2ray-domain-list-community' 'v2ray-geoip' 'xray-geoip' 'xray-geosite')
source=("geoip-$pkgver.dat::${url}/releases/download/${pkgver}/geoip.dat"
"geosite-$pkgver.dat::${url}/releases/download/${pkgver}/geosite.dat")
sha256sums=('52c56c5702f8540106b8cbdc0c448fb83844fb93036ae16100b878d92ef1580d'
'f05b3227ec0f8cb9515fb1131a3d35ae2ca45ee53ddc14016adf03123b0e1a86')
provides=(v2ray-domain-list-community v2ray-geoip)
conflicts=(v2ray-domain-list-community v2ray-geoip)
source=("$url/releases/download/$pkgver/geoip.dat"
"$url/releases/download/$pkgver/geosite.dat"
"$url/releases/download/$pkgver/geoip.dat.sha256sum"
"$url/releases/download/$pkgver/geosite.dat.sha256sum"
"https://raw.githubusercontent.com/Loyalsoldier/domain-list-custom/master/LICENSE")
sha256sums=('fd224548b0309f0810b03c13ae61cc41a6968fe6b1639c82de371485200fbcbb'
'5e15b0074a1e55a5f4b4fa6817fa8b1d12f5c6e21f906079957070af89296751'
'2a189edbd913172257960946fea01b430e552a7d2d3eb3c6b6dd430be37633fc'
'c1b63cc67749c46879783c32c9abc061af19e8d4ea744cff6d1f891545a0131c'
'35f18e0331a1ecd1835400c50e3b367c2ce09f6c13d91c4a0f3cb11f71d3bbc3')
prepare() {
sha256sum -c *.dat.sha256sum
}
package() {
install -dm755 "$pkgdir/usr/share/v2ray"
install -Dm644 *.dat "$pkgdir/usr/share/v2ray"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
package() {
local d
for d in v2ray xray; do
install -Dm644 "$srcdir/geoip-$pkgver.dat" "$pkgdir/usr/share/$d/geoip.dat"
install -Dm644 "$srcdir/geosite-$pkgver.dat" "$pkgdir/usr/share/$d/geosite.dat"
done
}