Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: v2rayA-2.0.1
@ 2023-02-12  8:28 xiarenfan
  2023-02-12  8:34 ` xiarenfan
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: xiarenfan @ 2023-02-12  8:28 UTC (permalink / raw)
  To: ml

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

There is a new 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: 1957 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] 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-06-21  1:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-12  8:28 [PR PATCH] New package: v2rayA-2.0.1 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 ` [PR PATCH] [Updated] " xiarenfan
2023-03-07 15:04 ` xiarenfan
2023-06-06  2:05 ` github-actions
2023-06-21  1:57 ` [PR PATCH] [Closed]: " github-actions

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).