Github messages for voidlinux
 help / color / mirror / Atom feed
From: CabrioletDiskette <CabrioletDiskette@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: BAND-1.10.9
Date: Tue, 22 Mar 2022 01:34:45 +0100	[thread overview]
Message-ID: <20220322003445.NOUIp3szL6HLJPgarIFqldQr8hICjeqyn38vK-eluD8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36252@inbox.vuxu.org>

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

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

https://github.com/CabrioletDiskette/void-packages master
https://github.com/void-linux/void-packages/pull/36252

New package: BAND-1.10.9
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

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

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64
*Upstream only has binarys for x86_64


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

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

From 4a44c2fd5e2c0bdd1d1fdada8c88eec35bcdb5a9 Mon Sep 17 00:00:00 2001
From: Adam Pschorr <adampschorr13@aol.com>
Date: Sun, 20 Mar 2022 19:44:45 -0600
Subject: [PATCH 1/2] New package: BAND-1.10.9

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

diff --git a/srcpkgs/BAND/template b/srcpkgs/BAND/template
new file mode 100644
index 000000000000..e749580c782e
--- /dev/null
+++ b/srcpkgs/BAND/template
@@ -0,0 +1,35 @@
+# Template file for 'BAND'
+pkgname=BAND
+version=1.10.9
+revision=1
+archs="x86_64"
+hostmakedepends="binutils tar xz gzip"
+depends="gtk+3 libnotify nss libXScrnSaver libXtst xdg-utils at-spi2-core libuuid libappindicator libsecret"
+short_desc="Group Chat Client for Sports, School, Campus Groups, and more"
+maintainer="Adam Pschorr <adampschorr13@aol.com>"
+license="custom:Proprietary"
+homepage="https://band.us/home"
+distfiles="https://ssl.pstatic.net/cmstatic/desktop/v${version}/BAND-${version}-amd64.deb"
+checksum=88bbc33c1d831e51abad81cb43d4622382e3cb40de38f35d549effc979ea1f8c
+repository=nonfree
+restricted=yes
+do_extract() {
+	ar x ${XBPS_SRCDISTDIR}/BAND-${version}/BAND-${version}-amd64.deb
+	tar -xf data.tar.xz
+	gzip -d usr/share/doc/band/changelog.gz
+}
+do_install() {
+	vmkdir /opt/BAND
+	vcopy opt/BAND/* /opt/BAND
+	vinstall usr/share/applications/band.desktop 644 usr/share/applications
+	#install icons
+	for size in 16 32 48 64 128 256 512; do
+		#Insure containing directory
+		mkdir -p ${DESTDIR}/usr/share/icons/hicolor/${size}x${size}/apps
+		vinstall usr/share/icons/hicolor/${size}x${size}/apps/band.png 644 /usr/share/icons/hicolor/${size}x${size}/apps
+	done
+}
+post_install() {
+	vdoc usr/share/doc/band/changelog
+	vlicense opt/BAND/resources/LICENSE
+}

From e545cb74de818b0ed4349cad3be02203aad4d671 Mon Sep 17 00:00:00 2001
From: Adam Pschorr <adampschorr13@aol.com>
Date: Mon, 21 Mar 2022 18:33:42 -0600
Subject: [PATCH 2/2] Added REMOVE to prevent xbps from removing /opt directory

---
 srcpkgs/BAND/REMOVE | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 srcpkgs/BAND/REMOVE

diff --git a/srcpkgs/BAND/REMOVE b/srcpkgs/BAND/REMOVE
new file mode 100644
index 000000000000..a3cc77de2c41
--- /dev/null
+++ b/srcpkgs/BAND/REMOVE
@@ -0,0 +1,6 @@
+#Prevent xbps from deleting /opt after uninstall
+
+case "$ACTION" in
+post)
+	mkdir -p opt;;
+esac

  parent reply	other threads:[~2022-03-22  0:34 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-21  3:10 [PR PATCH] " CabrioletDiskette
2022-03-21  4:25 ` [PR PATCH] [Updated] " CabrioletDiskette
2022-03-21 17:13 ` CabrioletDiskette
2022-03-21 22:42 ` [PR REVIEW] " classabbyamp
2022-03-21 22:42 ` classabbyamp
2022-03-21 22:42 ` classabbyamp
2022-03-21 22:43 ` classabbyamp
2022-03-22  0:24 ` [PR PATCH] [Updated] " CabrioletDiskette
2022-03-22  0:34 ` CabrioletDiskette [this message]
2022-03-22  0:37 ` CabrioletDiskette
2022-03-22  0:41 ` [PR PATCH] [Updated] " CabrioletDiskette
2022-03-22  6:34 ` CabrioletDiskette
2022-03-22 17:45 ` CabrioletDiskette
2022-03-23  4:13 ` CabrioletDiskette
2022-03-23 19:58 ` CabrioletDiskette
2022-03-23 20:00 ` CabrioletDiskette
2022-03-24  6:33 ` CabrioletDiskette
2022-03-24 16:39 ` CabrioletDiskette
2022-03-27 23:33 ` CabrioletDiskette
2022-04-04  4:47 ` CabrioletDiskette
2022-04-13  1:56 ` CabrioletDiskette
2022-04-13  2:08 ` CabrioletDiskette
2022-04-13  2:10 ` CabrioletDiskette
2022-05-17 16:55 ` [PR PATCH] [Closed]: " CabrioletDiskette
2022-05-17 16:55 ` CabrioletDiskette

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=20220322003445.NOUIp3szL6HLJPgarIFqldQr8hICjeqyn38vK-eluD8@z \
    --to=cabrioletdiskette@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).