Github messages for voidlinux
 help / color / mirror / Atom feed
From: xiarenfan <xiarenfan@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: v2rayA-2.0.1
Date: Tue, 07 Mar 2023 15:19:37 +0100	[thread overview]
Message-ID: <20230307141937.zLWv14OEnHrmH1pN0_tzQv6L1Fr6HsC175obuyWgGBY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42221@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 669 bytes --]

There is an updated pull request by xiarenfan against master on the void-packages repository

https://github.com/xiarenfan/void-packages master
https://github.com/void-linux/void-packages/pull/42221

New package: v2rayA-2.0.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)



A patch file from https://github.com/void-linux/void-packages/pull/42221.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-42221.patch --]
[-- Type: text/x-diff, Size: 2867 bytes --]

From 257c2338ca84ae9c86c6dd3acdb35e052ff926be Mon Sep 17 00:00:00 2001
From: xiarenfan <xiarenfan1998@onionmail.com>
Date: Sun, 12 Feb 2023 16:07:42 +0800
Subject: [PATCH 1/2] XBPS

---
 srcpkgs/v2rayA/files/v2rayA/run |  7 +++++++
 srcpkgs/v2rayA/template         | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 srcpkgs/v2rayA/files/v2rayA/run
 create mode 100644 srcpkgs/v2rayA/template

diff --git a/srcpkgs/v2rayA/files/v2rayA/run b/srcpkgs/v2rayA/files/v2rayA/run
new file mode 100644
index 000000000000..03461aca50f3
--- /dev/null
+++ b/srcpkgs/v2rayA/files/v2rayA/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2rayA
+
+
diff --git a/srcpkgs/v2rayA/template b/srcpkgs/v2rayA/template
new file mode 100644
index 000000000000..cf01c9c4b968
--- /dev/null
+++ b/srcpkgs/v2rayA/template
@@ -0,0 +1,32 @@
+# Template file for 'v2rayA'
+pkgname=v2rayA
+version=2.0.1
+revision=1
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version}"
+hostmakedepends="nodejs yarn"
+depends="v2ray>=5.0.0 xdg-utils"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="xiarenfan <xiarenfan1998@onionmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="5f79a42c4a720dec778a5c03c925dbbeb8d0fedebbb38ddf90d2d9712480b6a4"
+
+pre_build() {
+	cd ${wrksrc}/gui
+	yarn --check-files
+	OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+	export GO111MODULE=on
+}
+
+post_install() {
+	cd ${wrksrc}
+	vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+	vsv v2rayA
+	vinstall gui/public/img/icons/android-chrome-512x512.png \
+	0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+	vlicense LICENSE
+}
\ No newline at end of file

From 1b87c502577902f5163e2dcc4decfd71df36e634 Mon Sep 17 00:00:00 2001
From: xiarenfan <117075325+xiarenfan@users.noreply.github.com>
Date: Tue, 14 Feb 2023 16:58:51 +0800
Subject: [PATCH 2/2] Update and rename srcpkgs/v2rayA/template to  srcpkgs /
 v2rayA /template

---
 {srcpkgs/v2rayA => srcpkgs / v2rayA }/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename {srcpkgs/v2rayA => srcpkgs / v2rayA }/template (99%)

diff --git a/srcpkgs/v2rayA/template b/srcpkgs / v2rayA /template
similarity index 99%
rename from srcpkgs/v2rayA/template
rename to srcpkgs / v2rayA /template
index cf01c9c4b968..914a54f4dd92 100644
--- a/srcpkgs/v2rayA/template
+++ b/srcpkgs / v2rayA /template	
@@ -29,4 +29,4 @@ post_install() {
 	vinstall gui/public/img/icons/android-chrome-512x512.png \
 	0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
 	vlicense LICENSE
-}
\ No newline at end of file
+}

  parent reply	other threads:[~2023-03-07 14:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-12  8:28 [PR PATCH] " xiarenfan
2023-02-12  8:34 ` xiarenfan
2023-02-14  8:58 ` [PR PATCH] [Updated] " xiarenfan
2023-02-14 21:24 ` classabbyamp
2023-02-15  0:49 ` xiarenfan
2023-02-15  7:14 ` paper42
2023-03-07 14:19 ` xiarenfan [this message]
2023-03-07 15:04 ` [PR PATCH] [Updated] " xiarenfan
2023-06-06  2:05 ` github-actions
2023-06-21  1:57 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230307141937.zLWv14OEnHrmH1pN0_tzQv6L1Fr6HsC175obuyWgGBY@z \
    --to=xiarenfan@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).