Date: Sunday, February 9, 2020 @ 17:09:52 Author: felixonmars Revision: 565489
archrelease: copy trunk to community-any Added: v2ray-domain-list-community/repos/community-any/PKGBUILD (from rev 565486, 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-02-09 17:09:47 UTC (rev 565488) +++ PKGBUILD 2020-02-09 17:09:52 UTC (rev 565489) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=v2ray-domain-list-community -pkgver=202002080803 -pkgrel=1 -pkgdesc="A list of domains to be used as geosites for routing purpose in Project V" -arch=('any') -url="https://github.com/v2ray/domain-list-community" -license=('MIT') -makedepends=('go-pie' 'git') -source=("$pkgname-$pkgver.tar.gz::https://github.com/v2ray/domain-list-community/archive/$pkgver.tar.gz") -sha512sums=('d778708cc59cfa616f95f53615e9a1516db112ceb5d6241e6aa9fc44ef88995d6e32669663d6c68cc80409e16a34c33d250c41cc5ef4bf19a4c6ba2b32cadea8') - -prepare() { - mkdir .gopath - export GOPATH="$srcdir/.gopath" - - mkdir -p .gopath/src/github.com/v2ray - ln -s "$PWD/domain-list-community-$pkgver" .gopath/src/github.com/v2ray/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/v2ray/domain-list-community/main.go -} - -package() { - cd .gopath - install -Dm755 dlc.dat "$pkgdir"/usr/lib/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 565486, v2ray-domain-list-community/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-09 17:09:52 UTC (rev 565489) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=v2ray-domain-list-community +pkgver=202002091039 +pkgrel=1 +pkgdesc="A list of domains to be used as geosites for routing purpose in Project V" +arch=('any') +url="https://github.com/v2ray/domain-list-community" +license=('MIT') +makedepends=('go-pie' 'git') +source=("$pkgname-$pkgver.tar.gz::https://github.com/v2ray/domain-list-community/archive/$pkgver.tar.gz") +sha512sums=('7b82615bb2e055f3089502cf79a6ab230fa902d9c28f441163a31b6ba2b0cba187bb391eff1e20a201e9629d38a23bdeb4c47849536ef424416e3f016fcbed48') + +prepare() { + mkdir .gopath + export GOPATH="$srcdir/.gopath" + + mkdir -p .gopath/src/github.com/v2ray + ln -s "$PWD/domain-list-community-$pkgver" .gopath/src/github.com/v2ray/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/v2ray/domain-list-community/main.go +} + +package() { + cd .gopath + install -Dm755 dlc.dat "$pkgdir"/usr/lib/v2ray/geosite.dat + install -Dm644 "$srcdir"/domain-list-community-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}