Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: v2raya-1.5.9.1698.1
@ 2022-08-08  2:28 ketlrznt
  2022-08-08  2:37 ` [PR PATCH] [Updated] " ketlrznt
                   ` (62 more replies)
  0 siblings, 63 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08  2:28 UTC (permalink / raw)
  To: ml

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

There is a new pull request by ketlrznt against master on the void-packages repository

https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528

New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**

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


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


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

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

From 13b9bd0cd9c284399c184fbf4cb923fcfa670b20 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2raya

---
 srcpkgs/v2raya/files/v2raya/run | 10 ++++++++
 srcpkgs/v2raya/template         | 42 +++++++++++++++++++++++++++++++++
 2 files changed, 52 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..ebcc4dcb1a5f
--- /dev/null
+++ b/srcpkgs/v2raya/files/v2raya/run
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+# v2raya config
+export V2RAYA_CONFIG=/etc/v2raya
+# v2raya log
+export V2RAYA_LOG_FILE=/var/log/v2raya/v2raya.log
+# v2ray router data
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2raya
\ No newline at end of file
diff --git a/srcpkgs/v2raya/template b/srcpkgs/v2raya/template
new file mode 100644
index 000000000000..4db75af5eb17
--- /dev/null
+++ b/srcpkgs/v2raya/template
@@ -0,0 +1,42 @@
+# Template file for 'v2raya'
+pkgname=v2raya
+version=1.5.9.1698.1
+revision=1
+wrksrc="v2rayA-${version}"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags='-X github.com/v2rayA/v2rayA/conf.Version=unstable-'"$version"' -s -w'
+hostmakedepends="go nodejs yarn"
+depends="v2ray>=4.37.0-1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+export GO11MODULE=on
+
+do_build() {
+	cd gui
+	yarn --check-files
+	OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+	cd ../service
+	go build -ldflags="$go_ldflags" -o "${GOPATH}/bin/v2raya"
+}
+
+do_install() {
+	# binary
+	vbin ${GOPATH}/bin/v2raya
+	# desktop entry
+	vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+	# configurationo dir
+	vmkdir etc/$pkgname 0750
+	# service
+	vsv v2raya
+	# icon
+	vinstall gui/public/img/icons/android-chrome-512x512.png \
+	0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+	# license
+	vlicense LICENSE
+}

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

end of thread, other threads:[~2022-10-19  8:53 UTC | newest]

Thread overview: 64+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-08  2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
2022-08-08  2:37 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08  2:41 ` ketlrznt
2022-08-08  2:56 ` ketlrznt
2022-08-08  4:53 ` ketlrznt
2022-08-08  5:04 ` [PR REVIEW] " classabbyamp
2022-08-08  5:04 ` classabbyamp
2022-08-08  5:12 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08  5:22 ` ketlrznt
2022-08-08  5:46 ` [PR REVIEW] " ketlrznt
2022-08-08  5:46 ` ketlrznt
2022-08-08  5:48 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08  5:50 ` [PR REVIEW] " ketlrznt
2022-08-08  5:50 ` ketlrznt
2022-08-08  6:16 ` classabbyamp
2022-08-08  6:16 ` classabbyamp
2022-08-08  6:16 ` classabbyamp
2022-08-08  6:16 ` classabbyamp
2022-08-08  6:16 ` classabbyamp
2022-08-08  6:16 ` classabbyamp
2022-08-08  6:16 ` classabbyamp
2022-08-08  6:16 ` classabbyamp
2022-08-08  6:16 ` classabbyamp
2022-08-08  6:16 ` classabbyamp
2022-08-08  8:04 ` cubercsl
2022-08-08  9:07 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 11:45 ` ketlrznt
2022-08-08 11:54 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 11:58 ` ketlrznt
2022-08-08 11:59 ` ketlrznt
2022-08-08 14:11 ` [PR REVIEW] " classabbyamp
2022-08-08 14:11 ` classabbyamp
2022-08-08 14:27 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 14:31 ` ketlrznt
2022-08-08 15:10 ` [PR REVIEW] " classabbyamp
2022-08-08 15:34 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 15:39 ` [PR PATCH] [Updated] New package: v2rayA-1.5.9.1698.1 ketlrznt
2022-08-08 15:40 ` ketlrznt
2022-08-08 15:41 ` ketlrznt
2022-08-08 15:47 ` [PR REVIEW] " classabbyamp
2022-08-08 15:54 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 15:57 ` classabbyamp
2022-08-08 16:03 ` ketlrznt
2022-08-09  0:58 ` ketlrznt
2022-08-09  1:23 ` ketlrznt
2022-08-09  2:24 ` [PR PATCH] [Updated] " ketlrznt
2022-08-09  2:27 ` ketlrznt
2022-08-09  2:29 ` [PR REVIEW] " classabbyamp
2022-08-09  2:33 ` [PR PATCH] [Updated] " ketlrznt
2022-08-09  2:34 ` ketlrznt
2022-08-09  3:06 ` ketlrznt
2022-08-10 19:23 ` [PR REVIEW] " classabbyamp
2022-08-10 23:25 ` [PR PATCH] [Updated] " ketlrznt
2022-08-10 23:26 ` classabbyamp
2022-08-10 23:29 ` [PR REVIEW] " classabbyamp
2022-08-11  0:39 ` [PR PATCH] [Updated] " ketlrznt
2022-08-11  0:39 ` ketlrznt
2022-08-28 13:11 ` [PR PATCH] [Updated] " ketlrznt
2022-08-28 13:19 ` ketlrznt
2022-08-28 13:20 ` ketlrznt
2022-08-28 13:26 ` ketlrznt
2022-09-11  1:41 ` [WIP for Update] " ketlrznt
2022-09-11  1:44 ` ketlrznt
2022-10-19  8:53 ` [PR PATCH] [Closed]: " ketlrznt

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