Date: Monday, April 17, 2023 @ 12:37:20
  Author: felixonmars
Revision: 1446797

archrelease: copy trunk to community-x86_64

Added:
  v2ray/repos/community-x86_64/PKGBUILD
    (from rev 1446796, v2ray/trunk/PKGBUILD)
Deleted:
  v2ray/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-17 12:37:01 UTC (rev 1446796)
+++ PKGBUILD    2023-04-17 12:37:20 UTC (rev 1446797)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: pandada8 <[email protected]>
-
-pkgname=v2ray
-pkgver=5.3.0
-_commit=1aac75c8bc628cb45f68ec71c45cd436167a07c2
-pkgrel=1
-pkgdesc="A platform for building proxies to bypass network restrictions"
-arch=('x86_64')
-url="https://github.com/v2fly/v2ray-core";
-license=('MIT')
-depends=('glibc' 'v2ray-domain-list-community' 'v2ray-geoip')
-makedepends=('go' 'git')
-backup=(etc/v2ray/config.json)
-source=("git+https://github.com/v2fly/v2ray-core.git#commit=$_commit";)
-sha512sums=('SKIP')
-
-prepare() {
-  cd v2ray-core
-  sed -i 's|/usr/local/bin|/usr/bin|;s|/usr/local/etc|/etc|' 
release/config/systemd/system/*.service
-}
-
-build() {
-  cd v2ray-core
-  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  go build -o v2ray ./main
-}
-
-check() {
-  cd v2ray-core
-  go test -p 1 -tags json -v -timeout 30m ./...
-}
-
-package() {
-  cd v2ray-core
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/v2ray/
-  install -Dm644 release/config/systemd/system/v2ray.service -t 
"$pkgdir"/usr/lib/systemd/system/
-  install -Dm644 release/config/systemd/system/[email protected] -t 
"$pkgdir"/usr/lib/systemd/system/
-  install -Dm644 release/config/*.json -t "$pkgdir"/etc/v2ray/
-  install -Dm755 v2ray -t "$pkgdir"/usr/bin/
-}

Copied: v2ray/repos/community-x86_64/PKGBUILD (from rev 1446796, 
v2ray/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-17 12:37:20 UTC (rev 1446797)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: pandada8 <[email protected]>
+
+pkgname=v2ray
+pkgver=5.4.1
+_commit=9b5262855fd5bf432c5abdd24152a9089bbb874f
+pkgrel=1
+pkgdesc="A platform for building proxies to bypass network restrictions"
+arch=('x86_64')
+url="https://github.com/v2fly/v2ray-core";
+license=('MIT')
+depends=('glibc' 'v2ray-domain-list-community' 'v2ray-geoip')
+makedepends=('go' 'git')
+backup=(etc/v2ray/config.json)
+source=("git+https://github.com/v2fly/v2ray-core.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+prepare() {
+  cd v2ray-core
+  sed -i 's|/usr/local/bin|/usr/bin|;s|/usr/local/etc|/etc|' 
release/config/systemd/system/*.service
+}
+
+build() {
+  cd v2ray-core
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  go build -o v2ray ./main
+}
+
+check() {
+  cd v2ray-core
+  go test -p 1 -tags json -v -timeout 30m ./...
+}
+
+package() {
+  cd v2ray-core
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/v2ray/
+  install -Dm644 release/config/systemd/system/v2ray.service -t 
"$pkgdir"/usr/lib/systemd/system/
+  install -Dm644 release/config/systemd/system/[email protected] -t 
"$pkgdir"/usr/lib/systemd/system/
+  install -Dm644 release/config/*.json -t "$pkgdir"/etc/v2ray/
+  install -Dm755 v2ray -t "$pkgdir"/usr/bin/
+}

Reply via email to