blob: bd9f7dd8c8ea1200fc568e8a69450ee8b5753b63 (
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
|
# Maintainer:
# Contributor: Dct Mei <dctxmei@yandex.com>
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: jakka <jakkadoujin at gmail dot com>
pkgname=xray-domain-list-community
pkgver=20241221105938
pkgrel=1
pkgdesc="A list of domains to be used as geosites for routing purpose in Project V"
arch=('any')
url="https://github.com/v2fly/domain-list-community"
license=('MIT')
makedepends=('go')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('77e3d27b4c72fe6fd2190f5fb29ca43f5125ed89fb3a937387b4c9588358bfd6')
build() {
cd "${srcdir}/domain-list-community-${pkgver}"
go run main.go
}
package() {
cd "${srcdir}/domain-list-community-${pkgver}"
install -Dm644 dlc.dat "${pkgdir}/usr/share/xray/geosite.dat"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|