Date: Friday, September 4, 2020 @ 09:05:19 Author: felixonmars Revision: 698107
archrelease: copy trunk to community-any Added: v2ray-domain-list-community/repos/community-any/PKGBUILD (from rev 698098, 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-09-04 09:05:18 UTC (rev 698106) +++ PKGBUILD 2020-09-04 09:05:19 UTC (rev 698107) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=v2ray-domain-list-community -pkgver=20200902101047 -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=('19deeae49e1e7fcecd7c6405b1de6bfaa9138ecee1a5dd64c559d8faf312e9de408d496e82e53820cc5b9b142e1e90dabd26e026d9e5b6525ae02ab7f242f18c') - -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 698098, v2ray-domain-list-community/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-04 09:05:19 UTC (rev 698107) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=v2ray-domain-list-community +pkgver=20200903084411 +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=('8fef4099c10c8fe2140f34f578cd59e850ee935972417c2fa92a01777aadede099e5c954c04cbcdb6d83ca4b907c15757bc9f4dae9058bb650f8d6b7fae2b795') + +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 +}