You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
732 B

# Maintainer: Nathan <ndowens@artixlinux.org>
pkgname=v2ray-domain-list-community
pkgver=20230208103804
_commit=ac78a0eb218d2b1891e6d8a97d7b9969d0ef1825
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' 'git')
source=("git+https://github.com/v2fly/domain-list-community.git#commit=$_commit")
sha512sums=('SKIP')
build() {
cd domain-list-community
ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.18 go run main.go
}
package() {
cd domain-list-community
install -Dm644 dlc.dat "$pkgdir"/usr/share/v2ray/geosite.dat
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}