Date: Friday, April 17, 2020 @ 06:13:25 Author: felixonmars Revision: 615409
archrelease: copy trunk to community-any Added: v2ray-domain-list-community/repos/community-any/PKGBUILD (from rev 615408, 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-04-17 06:13:16 UTC (rev 615408) +++ PKGBUILD 2020-04-17 06:13:25 UTC (rev 615409) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=v2ray-domain-list-community -pkgver=202004151043 -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=('74a4126327989bd15e12b7d6bdce643c605327548f83f9587401c67c44c10b5eeab82bd7dd2f11027e1ce522d2014c89a9681652fc7c975b3618d046459aeeb4') - -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 615408, v2ray-domain-list-community/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-04-17 06:13:25 UTC (rev 615409) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=v2ray-domain-list-community +pkgver=202004161034 +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=('6f0ba7e8481a5384089c48c637519bc0f73dce718e0a67c664af40cf5228e464eefc86d3bf04315f71b0259a4178abc5bb06eeef4a2ca899f2a5c9d8cdefe728') + +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 +}