blob: 0ff56f4a4a1c1a2a8190eb3d7db693ad216ec8e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Zenvie <134689569+Zenvie@users.noreply.github.com>
# Contributor: Felix Yan <felixonmars@archlinux.org>
pkgname=v2ray-rules-dat
pkgver=202407032211
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)
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=('4411ae669b5c44f51f07eac28fc7c8ba7f6bf72aa058663bbe5ce4b065c52cc9'
'07e3c943ee8b5b6bce79d1585298c20924c430c9a67533dbb00e7a3b9b6eab74'
'd71e74f4a416ba40a305bf5dcf048ecf47ce84c531f8eb97018c58d307976aed'
'116ce37cd5eceecd088b1f5fc4c5c14d81a8358b80c51fcb11370ba46d16a61a'
'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"
}
|