Github messages for voidlinux
 help / color / mirror / Atom feed
From: Emru1 <Emru1@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: postman-8.5.1
Date: Mon, 24 May 2021 16:46:17 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31088@inbox.vuxu.org> (raw)

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

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

https://github.com/Emru1/void-packages postman
https://github.com/void-linux/void-packages/pull/31088

New package: postman-8.5.1
<!-- 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?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

Postman package, based on slack-desktop package, also using desktop entry from https://github.com/void-linux/void-packages/issues/12168


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

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

From ce4929063993aed4c30cadc5ae52c96e6da216f4 Mon Sep 17 00:00:00 2001
From: Emil Tomczyk <emil.tomczyk@skni.umcs.pl>
Date: Mon, 24 May 2021 15:06:49 +0200
Subject: [PATCH 1/2] Added postman package

---
 srcpkgs/postman/files/postman.desktop | 10 ++++++++++
 srcpkgs/postman/template              | 28 +++++++++++++++++++++++++++
 srcpkgs/postman/update                |  2 ++
 3 files changed, 40 insertions(+)
 create mode 100644 srcpkgs/postman/files/postman.desktop
 create mode 100644 srcpkgs/postman/template
 create mode 100644 srcpkgs/postman/update

diff --git a/srcpkgs/postman/files/postman.desktop b/srcpkgs/postman/files/postman.desktop
new file mode 100644
index 000000000000..4ad27e8828f8
--- /dev/null
+++ b/srcpkgs/postman/files/postman.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Postman
+Comment=Postman
+Exec=postman %U
+Icon=/usr/share/pixmaps/postman.png
+Terminal=false
+Type=Application
+Categories=GNOME;Application;Development;
+StartupNotify=true
diff --git a/srcpkgs/postman/template b/srcpkgs/postman/template
new file mode 100644
index 000000000000..73e7665a7832
--- /dev/null
+++ b/srcpkgs/postman/template
@@ -0,0 +1,28 @@
+# Template file for 'postman'
+pkgname=postman
+version=8.5.1
+revision=2
+archs="x86_64"
+hostmakedepends="tar gzip"
+short_desc="Platform for API develpoment"
+maintainer="Emil Tomczyk <emil.tomczyk@skni.umcs.pl>"
+license="custom:Proprietary"
+homepage="https://www.postman.com/"
+distfiles="https://dl.pstmn.io/download/version/${version}/linux64"
+checksum=e78b6b66af5a48a043c1f0abcf1e626da2168c1c47afdbc57b8d335d60ba3f8f
+restricted=yes
+repository="nonfree"
+nopie=yes
+
+do_extract() {
+	tar zxf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/linux64
+}
+
+do_install() {
+	vlicense Postman/app/LICENSE
+	vinstall Postman/app/resources/app/assets/icon.png 644 usr/share/pixmaps postman.png
+	vinstall ${FILESDIR}/postman.desktop 644 usr/share/applications
+	mkdir ${DESTDIR}/usr/bin
+	vcopy Postman/app usr/lib/postman
+	ln -s ../lib/postman/Postman ${DESTDIR}/usr/bin/postman
+}
diff --git a/srcpkgs/postman/update b/srcpkgs/postman/update
new file mode 100644
index 000000000000..6b1539630bfb
--- /dev/null
+++ b/srcpkgs/postman/update
@@ -0,0 +1,2 @@
+site="https://slack.com/downloads/linux"
+pattern='Version \K[\d.]+(?=)'

From 8d6f04951195f4aefd903d5829f1c8ab607bf794 Mon Sep 17 00:00:00 2001
From: Emil Tomczyk <emil.tomczyk@skni.umcs.pl>
Date: Mon, 24 May 2021 16:42:34 +0200
Subject: [PATCH 2/2] Cleanup

---
 srcpkgs/postman/update | 2 --
 1 file changed, 2 deletions(-)
 delete mode 100644 srcpkgs/postman/update

diff --git a/srcpkgs/postman/update b/srcpkgs/postman/update
deleted file mode 100644
index 6b1539630bfb..000000000000
--- a/srcpkgs/postman/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site="https://slack.com/downloads/linux"
-pattern='Version \K[\d.]+(?=)'

             reply	other threads:[~2021-05-24 14:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 14:46 Emru1 [this message]
2022-05-20  2:12 ` github-actions
2022-06-04  2:08 ` [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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31088@inbox.vuxu.org \
    --to=emru1@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).