Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: remotebox-2.7.
@ 2021-04-06 10:04 MGlolenstine
  2021-04-06 10:04 ` MGlolenstine
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: MGlolenstine @ 2021-04-06 10:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MGlolenstine/void-packages remotebox
https://github.com/void-linux/void-packages/pull/30039

New package: remotebox-2.7.
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->

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

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

From a348539e6f155153e330a80a947b1f08470a42f8 Mon Sep 17 00:00:00 2001
From: MGlolenstine <mglolenstine@gmail.com>
Date: Tue, 6 Apr 2021 10:21:22 +0200
Subject: [PATCH] New package: remotebox-2.7.

---
 srcpkgs/remotebox/template | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/remotebox/template

diff --git a/srcpkgs/remotebox/template b/srcpkgs/remotebox/template
new file mode 100644
index 000000000000..48330bf7102a
--- /dev/null
+++ b/srcpkgs/remotebox/template
@@ -0,0 +1,34 @@
+# Template file for 'remotebox'
+pkgname=remotebox
+version=2.7
+revision=1
+archs="x86_64"
+wrksrc="RemoteBox-${version}"
+depends="gtk+ perl perl-SOAP-Lite perl-LWP perl-Gtk2"
+short_desc="FOSS Client for vboxsrv"
+maintainer="MGlolenstine <mglolenstine@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://remotebox.knobgoblin.org.uk/"
+distfiles="http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${version}.tar.bz2"
+checksum=eb96631dc55cc5718f973308047e88b91884e9bf1f7ca2e25204e37bda334e33
+
+do_install() {
+	local package_location="usr/lib/$pkgname-$version" item
+	vinstall "packagers-readme/remotebox.ico" 644 /usr/share/pixmap/ remotebox.ico
+	vmkdir "${package_location}/share"
+	vcopy "remotebox" "${package_location}"
+	vcopy "share/*" "${package_location}/share"
+	vcopy "docs" "${package_location}/share"
+	vmkdir usr/bin
+	ln -sfr $DESTDIR/${package_location}/remotebox $DESTDIR/usr/bin/remotebox
+	vmkdir usr/share/
+	vmkdir usr/share/applications
+	vcopy "packagers-readme/remotebox.desktop" "usr/share/applications/remotebox.desktop"
+	sed -i -e "s|^\(use lib \"\).*\(\";\)$|\1/usr/lib/remotebox-${version}/share/remotebox\2|" $DESTDIR/${package_location}/remotebox || die
+	sed -i -e "s|^\(our \$sharedir = \"\).*\(\";\)$|\1/usr/lib/remotebox-${version}/share/remotebox\2|" $DESTDIR/${package_location}/remotebox || die
+	sed -i -e "s|^\(our \$docdir\)  \( = \"\).*\(\";\)$|\1\2/usr/lib/remotebox-${version}/share/docs\3|" $DESTDIR/${package_location}/remotebox || die
+
+	# Cleanup comments
+	sed -i -e "/^# \^\^\^.*$/d" remotebox || die
+	sed -i -e "/^# \*\*\*.*$/d" remotebox || die
+}

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

end of thread, other threads:[~2022-09-01  2:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06 10:04 [PR PATCH] New package: remotebox-2.7 MGlolenstine
2021-04-06 10:04 ` MGlolenstine
2022-05-17  2:14 ` github-actions
2022-05-18 18:30 ` Chocimier
2022-08-18  2:15 ` github-actions
2022-09-01  2:16 ` [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).