Date: Tuesday, March 24, 2020 @ 17:57:14 Author: felixonmars Revision: 603877
archrelease: copy trunk to community-any Added: v2ray-domain-list-community/repos/community-any/PKGBUILD (from rev 603876, 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-03-24 17:56:58 UTC (rev 603876) +++ PKGBUILD 2020-03-24 17:57:14 UTC (rev 603877) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=v2ray-domain-list-community -pkgver=202003221514 -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=('1d40cf59206d69069a61717a42dda65569473c8a2bbdac1a67b16193960713237aefc7805c7b22d036ffc6c7655eeefd76bcecb4f5a9cd0e60bc9aba3add42dc') - -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 603876, v2ray-domain-list-community/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-24 17:57:14 UTC (rev 603877) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=v2ray-domain-list-community +pkgver=202003240831 +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=('dd758729615f9d24961475d62291db55f39d79d553279e906652e8d1a2153f23998f6dbc0ae2618ff4d31be225ddc2b30756f2b1e028782681838e6381806c6f') + +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 +}