mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
[lilac] updated to 202403262209-1
This commit is contained in:
parent
45c0bfe067
commit
71752f627d
2 changed files with 25 additions and 23 deletions
15
.SRCINFO
15
.SRCINFO
|
|
@ -1,18 +1,25 @@
|
|||
pkgbase = v2ray-rules-dat
|
||||
pkgdesc = Enhanced edition of V2Ray rules dat files, compatible with Xray and Hysteria.
|
||||
pkgver = 202403252209
|
||||
pkgdesc = Enhanced edition of V2Ray rules dat files
|
||||
pkgver = 202403262209
|
||||
pkgrel = 1
|
||||
url = https://github.com/Loyalsoldier/v2ray-rules-dat
|
||||
arch = any
|
||||
license = CC-BY-SA-4.0
|
||||
license = MIT
|
||||
license = GPL-3.0-or-later
|
||||
makedepends = git
|
||||
provides = v2ray-domain-list-community
|
||||
provides = v2ray-geoip
|
||||
conflicts = v2ray-domain-list-community
|
||||
conflicts = v2ray-geoip
|
||||
source = LICENSE::https://raw.githubusercontent.com/Loyalsoldier/domain-list-custom/master/LICENSE
|
||||
source = https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202403262209/geoip.dat
|
||||
source = https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202403262209/geosite.dat
|
||||
source = https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202403262209/geoip.dat.sha256sum
|
||||
source = https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202403262209/geosite.dat.sha256sum
|
||||
source = https://raw.githubusercontent.com/Loyalsoldier/domain-list-custom/master/LICENSE
|
||||
sha256sums = 6e0e73e3656b83f0fad9cb61a8f33b6c896e8cb1cb2db1502f0691640680fe88
|
||||
sha256sums = a77f367938c4c51c0baffe6d24b7ebd87387b3746dfc186c2ab24ce40d8afb93
|
||||
sha256sums = 52475e5dd7f7d7f4f1dd2adf7bc51550d641a138ebe0aaae53585d4e58c3afbb
|
||||
sha256sums = 48becd46d4f2fbb24a320aa6ff30f0cbc9d782ac19f132222ea1414b48556384
|
||||
sha256sums = 35f18e0331a1ecd1835400c50e3b367c2ce09f6c13d91c4a0f3cb11f71d3bbc3
|
||||
|
||||
pkgname = v2ray-rules-dat
|
||||
|
|
|
|||
33
PKGBUILD
33
PKGBUILD
|
|
@ -1,11 +1,10 @@
|
|||
# Maintainer: Zenvie <134689569+Zenvie@users.noreply.github.com>
|
||||
# Contributor: Chenrry666 <chengruichen3@gmail.com>
|
||||
# Contributor: Felix Yan <felixonmars@archlinux.org>
|
||||
|
||||
pkgname=v2ray-rules-dat
|
||||
pkgver=202403252209
|
||||
pkgver=202403262209
|
||||
pkgrel=1
|
||||
pkgdesc="Enhanced edition of V2Ray rules dat files, compatible with Xray and Hysteria."
|
||||
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)
|
||||
|
|
@ -13,27 +12,23 @@ license=(CC-BY-SA-4.0 MIT GPL-3.0-or-later)
|
|||
provides=(v2ray-domain-list-community v2ray-geoip)
|
||||
conflicts=(v2ray-domain-list-community v2ray-geoip)
|
||||
|
||||
makedepends=(git)
|
||||
|
||||
source=("LICENSE::https://raw.githubusercontent.com/Loyalsoldier/domain-list-custom/master/LICENSE")
|
||||
sha256sums=('35f18e0331a1ecd1835400c50e3b367c2ce09f6c13d91c4a0f3cb11f71d3bbc3')
|
||||
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=('6e0e73e3656b83f0fad9cb61a8f33b6c896e8cb1cb2db1502f0691640680fe88'
|
||||
'a77f367938c4c51c0baffe6d24b7ebd87387b3746dfc186c2ab24ce40d8afb93'
|
||||
'52475e5dd7f7d7f4f1dd2adf7bc51550d641a138ebe0aaae53585d4e58c3afbb'
|
||||
'48becd46d4f2fbb24a320aa6ff30f0cbc9d782ac19f132222ea1414b48556384'
|
||||
'35f18e0331a1ecd1835400c50e3b367c2ce09f6c13d91c4a0f3cb11f71d3bbc3')
|
||||
|
||||
prepare() {
|
||||
git clone --depth 1 --branch release $url release
|
||||
sha256sum -c *.dat.sha256sum
|
||||
}
|
||||
|
||||
package() {
|
||||
install -dm755 "$pkgdir/usr/share/v2ray"
|
||||
install -Dm644 "release/geoip.dat" "$pkgdir/usr/share/v2ray/geoip.dat"
|
||||
install -Dm644 "release/geosite.dat" "$pkgdir/usr/share/v2ray/geosite.dat"
|
||||
|
||||
install -dm755 "$pkgdir/usr/share/xray"
|
||||
ln -s "/usr/share/v2ray/geoip.dat" "$pkgdir/usr/share/xray/geoip.dat"
|
||||
ln -s "/usr/share/v2ray/geosite.dat" "$pkgdir/usr/share/xray/geosite.dat"
|
||||
|
||||
install -dm755 "$pkgdir/usr/share/hysteria"
|
||||
ln -s "/usr/share/v2ray/geoip.dat" "$pkgdir/usr/share/hysteria/geoip.dat"
|
||||
ln -s "/usr/share/v2ray/geosite.dat" "$pkgdir/usr/share/hysteria/geosite.dat"
|
||||
|
||||
install -Dm644 *.dat "$pkgdir/usr/share/v2ray"
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue