Date: Tuesday, November 3, 2020 @ 04:00:39 Author: felixonmars Revision: 740136
archrelease: copy trunk to community-any Added: v2ray-domain-list-community/repos/community-any/PKGBUILD (from rev 740135, v2ray-domain-list-community/trunk/PKGBUILD) Deleted: v2ray-domain-list-community/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-03 04:00:32 UTC (rev 740135) +++ PKGBUILD 2020-11-03 04:00:39 UTC (rev 740136) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=v2ray-domain-list-community -pkgver=20201101021801 -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=("https://github.com/v2fly/domain-list-community/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('c22659b87289dd5d0902886f408dae180974bd2de1b51430a1df4496f27379e0a31e34d19c7366d829524bf9055bccb8893d01bdd55581b2c5ecabb6f5a65b64') - -prepare() { - mkdir .gopath - export GOPATH="$srcdir/.gopath" - - mkdir -p .gopath/src/github.com/v2fly - ln -s "$PWD/domain-list-community-$pkgver" .gopath/src/github.com/v2fly/domain-list-community - - go get github.com/golang/protobuf/proto - go get -insecure v2ray.com/core/app/router -} - -build() { - cd .gopath - go run ./src/github.com/v2fly/domain-list-community/main.go -} - -package() { - cd .gopath - install -Dm644 dlc.dat "$pkgdir"/usr/share/v2ray/geosite.dat - install -Dm644 "$srcdir"/domain-list-community-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: v2ray-domain-list-community/repos/community-any/PKGBUILD (from rev 740135, v2ray-domain-list-community/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-03 04:00:39 UTC (rev 740136) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=v2ray-domain-list-community +pkgver=20201102141726 +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=("https://github.com/v2fly/domain-list-community/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('ba4c8b7d7e4811d7510b2ecaaeb056ba803231666ab635bd4b635922a7373c2435a801233d9feff94c2c0aa400a16f223b3ea916c8655ca3cad0ce1040868bda') + +prepare() { + mkdir .gopath + export GOPATH="$srcdir/.gopath" + + mkdir -p .gopath/src/github.com/v2fly + ln -s "$PWD/domain-list-community-$pkgver" .gopath/src/github.com/v2fly/domain-list-community + + go get github.com/golang/protobuf/proto + go get -insecure v2ray.com/core/app/router +} + +build() { + cd .gopath + go run ./src/github.com/v2fly/domain-list-community/main.go +} + +package() { + cd .gopath + install -Dm644 dlc.dat "$pkgdir"/usr/share/v2ray/geosite.dat + install -Dm644 "$srcdir"/domain-list-community-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}