[arch-commits] Commit in v2ray-domain-list-community/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Thu Feb 25 11:31:51 UTC 2021


    Date: Thursday, February 25, 2021 @ 11:31:51
  Author: felixonmars
Revision: 873809

archrelease: copy trunk to community-any

Added:
  v2ray-domain-list-community/repos/community-any/PKGBUILD
    (from rev 873804, v2ray-domain-list-community/trunk/PKGBUILD)
Deleted:
  v2ray-domain-list-community/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   59 +++++++++++++++++++++++------------------------------------
 1 file changed, 23 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-25 11:31:50 UTC (rev 873808)
+++ PKGBUILD	2021-02-25 11:31:51 UTC (rev 873809)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=v2ray-domain-list-community
-pkgver=20210223163424
-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=('73ca445eb469a0e95b5c5088783a6f65a76f4068bda3d2125592643fa8b910d01fcf0533811c138fd40eecb1a82162622122bf03934f5873b4ad08df62f76fde')
-
-export GO111MODULE=auto
-
-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 873804, v2ray-domain-list-community/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-25 11:31:51 UTC (rev 873809)
@@ -0,0 +1,23 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=v2ray-domain-list-community
+pkgver=20210225063122
+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=('b2f88cf6e99c4ee114a5360999faa68931f2054b8f6f97a4f6675251859f252a591c4b59458a55a293309cd937cd01c3a4fd6c872ebfc8eb8ff04e24552f3dc9')
+
+build() {
+  cd domain-list-community-$pkgver
+  go run main.go
+}
+
+package() {
+  cd domain-list-community-$pkgver
+  install -Dm644 dlc.dat "$pkgdir"/usr/share/v2ray/geosite.dat
+  install -Dm644 "$srcdir"/domain-list-community-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list