Github messages for voidlinux
 help / color / mirror / Atom feed
From: fanyx <fanyx@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: postman-10.1.2
Date: Tue, 22 Nov 2022 14:06:50 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40682@inbox.vuxu.org> (raw)

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

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

https://github.com/fanyx/void-packages postman
https://github.com/void-linux/void-packages/pull/40682

New package: postman-10.1.2
#### Testing the changes
- I tested the changes in this PR: **YES**
- able to launch and work with

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

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

I require this at work and saw there is no xbps-template for it yet so i might as well contribute it.
Don't know if anyone else could profit.

Also, ewh electron.


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

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

From 746443ffd5b8baffdc33af32e008af12bb4f485c Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@fanyx.xyz>
Date: Tue, 22 Nov 2022 14:00:16 +0100
Subject: [PATCH] New package: postman-10.1.2

---
 srcpkgs/postman/files/postman.desktop | 11 +++++++++
 srcpkgs/postman/template              | 34 +++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 srcpkgs/postman/files/postman.desktop
 create mode 100644 srcpkgs/postman/template

diff --git a/srcpkgs/postman/files/postman.desktop b/srcpkgs/postman/files/postman.desktop
new file mode 100644
index 000000000000..0f77d1d998a1
--- /dev/null
+++ b/srcpkgs/postman/files/postman.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=Postman
+Comment=API Platform for building and using APIs
+Keywords=Internet;API;Network;Development
+Exec=/usr/lib/postman/Postman
+Terminal=false
+Type=Application
+Icon=/usr/lib/postman/icons/icon_128x128.png
+Categories=Development;Network
+
diff --git a/srcpkgs/postman/template b/srcpkgs/postman/template
new file mode 100644
index 000000000000..8c0b06a9e4c0
--- /dev/null
+++ b/srcpkgs/postman/template
@@ -0,0 +1,34 @@
+# Template file for 'postman'
+pkgname=postman
+version=10.1.2
+revision=1
+archs="x86_64"
+makedepends="tar"
+short_desc="API Platform for building and using APIs"
+maintainer="fanyx <fanyx@fanyx.xyz>"
+license="custom:Proprietary"
+homepage="https://www.postman.com/"
+distfiles="https://dl.pstmn.io/download/latest/linux64"
+checksum=4b79ab21c859e2993c14126842a616de3ee29b33fe0c3812722950f3fc741a02
+repository=nonfree
+restricted=yes
+nopie=y
+
+do_extract() {
+	tar -xvzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/linux64 Postman/app
+}
+
+do_install() {
+	vmkdir usr/lib
+	vcopy Postman/app usr/lib/postman
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/postman.desktop usr/share/applications/
+	
+  	mkdir libsave
+  	for lib in libffmpeg.so; do
+  		mv ${DESTDIR}/usr/lib/postman/$lib libsave
+  	done
+  	find ${DESTDIR}/usr/lib/postman/ -name '*.so*' -delete
+  	mv libsave/* ${DESTDIR}/usr/lib/postman/
+}

             reply	other threads:[~2022-11-22 13:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-22 13:06 fanyx [this message]
2022-11-22 13:08 ` [PR PATCH] [Updated] " fanyx
2022-11-23  9:50 ` [PR PATCH] [Updated] New package: postman-10.4.5 fanyx
2023-02-22  2:01 ` github-actions
2023-03-08  2:05 ` [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-40682@inbox.vuxu.org \
    --to=fanyx@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).