mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
[lilac] updated to None-1
This commit is contained in:
parent
f6ba75e19b
commit
7c1ceae29a
2 changed files with 22 additions and 15 deletions
13
.SRCINFO
13
.SRCINFO
|
|
@ -1,17 +1,18 @@
|
|||
pkgbase = v2ray-rules-dat
|
||||
pkgdesc = Enhanced edition of V2Ray rules dat files, compatible with Xray and Hysteria.
|
||||
pkgver = 202403242210
|
||||
pkgrel = 2
|
||||
pkgver = None
|
||||
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 = geoip.dat::https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202403242210/geoip.dat
|
||||
source = geosite.dat::https://github.com/Loyalsoldier/v2ray-rules-dat/releases/download/202403242210/geosite.dat
|
||||
sha256sums = 6e0e73e3656b83f0fad9cb61a8f33b6c896e8cb1cb2db1502f0691640680fe88
|
||||
sha256sums = 5bbd5ce20006a41f719f410d898f0a838d5bfe643fac37b6e32729e16aae9539
|
||||
source = LICENSE::https://raw.githubusercontent.com/Loyalsoldier/domain-list-custom/master/LICENSE
|
||||
sha256sums = 35f18e0331a1ecd1835400c50e3b367c2ce09f6c13d91c4a0f3cb11f71d3bbc3
|
||||
|
||||
pkgname = v2ray-rules-dat
|
||||
|
|
|
|||
24
PKGBUILD
24
PKGBUILD
|
|
@ -3,25 +3,29 @@
|
|||
# Contributor: Felix Yan <felixonmars@archlinux.org>
|
||||
|
||||
pkgname=v2ray-rules-dat
|
||||
pkgver=202403242210
|
||||
pkgrel=2
|
||||
pkgver=None
|
||||
pkgrel=1
|
||||
pkgdesc="Enhanced edition of V2Ray rules dat files, compatible with Xray and Hysteria."
|
||||
arch=(any)
|
||||
url="https://github.com/Loyalsoldier/$pkgname"
|
||||
license=('GPL-3.0-or-later')
|
||||
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)
|
||||
|
||||
source=("geoip.dat::$url/releases/download/$pkgver/geoip.dat"
|
||||
"geosite.dat::$url/releases/download/$pkgver/geosite.dat")
|
||||
sha256sums=('6e0e73e3656b83f0fad9cb61a8f33b6c896e8cb1cb2db1502f0691640680fe88'
|
||||
'5bbd5ce20006a41f719f410d898f0a838d5bfe643fac37b6e32729e16aae9539')
|
||||
makedepends=(git)
|
||||
|
||||
source=("LICENSE::https://raw.githubusercontent.com/Loyalsoldier/domain-list-custom/master/LICENSE")
|
||||
sha256sums=('35f18e0331a1ecd1835400c50e3b367c2ce09f6c13d91c4a0f3cb11f71d3bbc3')
|
||||
|
||||
prepare() {
|
||||
git clone --depth 1 --branch release $url release
|
||||
}
|
||||
|
||||
package() {
|
||||
install -dm755 "$pkgdir/usr/share/v2ray"
|
||||
install -Dm644 "geoip.dat" "$pkgdir/usr/share/v2ray/geoip.dat"
|
||||
install -Dm644 "geosite.dat" "$pkgdir/usr/share/v2ray/geosite.dat"
|
||||
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"
|
||||
|
|
@ -30,4 +34,6 @@ package() {
|
|||
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 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue