Date: Sunday, January 17, 2021 @ 13:39:44 Author: felixonmars Revision: 821293
archrelease: copy trunk to community-any Added: v2ray-domain-list-community/repos/community-any/PKGBUILD (from rev 821291, 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 2021-01-17 13:39:41 UTC (rev 821292) +++ PKGBUILD 2021-01-17 13:39:44 UTC (rev 821293) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=v2ray-domain-list-community -pkgver=20210115121134 -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=('f96aaec0dbfa092e74e29fbe3527ac94e564421ed00194b474731365082512874a838e0254a2db0e4803450c9f442ef0126ecda8cfdf2a168967ba6d66132a0f') - -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 821291, v2ray-domain-list-community/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-17 13:39:44 UTC (rev 821293) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=v2ray-domain-list-community +pkgver=20210117105739 +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=('09c63a009bdc4361f6185e721d3cfe15a4db414048701a777daca0f00c084a6b955efc47f1011640fa0a305d373cbd25a16b034f8543d55a6014b6a0f0b092ab') + +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 +}