Date: Monday, December 28, 2020 @ 22:07:56 Author: felixonmars Revision: 795989
archrelease: copy trunk to community-any Added: v2ray-domain-list-community/repos/community-any/PKGBUILD (from rev 795988, 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-12-28 22:07:45 UTC (rev 795988) +++ PKGBUILD 2020-12-28 22:07:56 UTC (rev 795989) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=v2ray-domain-list-community -pkgver=20201228131659 -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=('f51b26302cedd18c6add64ecb1f861c2b5cea4103b89702c9fc31eb843a5cb0bb49ba25d5f960c3031136ecfd9c094ef2f2686adb68f6828ebf7fdbc46f81506') - -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 795988, v2ray-domain-list-community/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-28 22:07:56 UTC (rev 795989) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=v2ray-domain-list-community +pkgver=20201228161327 +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=('e3be71e140ae734f546fc269443ed146608ad37fcbf603d956dcb5e19811aa334f1a4a6364eecbf058bb03dd7eebc2711b95a006b1f27d3ff5e48667b8b60212') + +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 +}