Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: postman-8.5.1
@ 2021-05-24 14:46 Emru1
  2022-05-20  2:12 ` github-actions
  2022-06-04  2:08 ` [PR PATCH] [Closed]: " github-actions
  0 siblings, 2 replies; 3+ messages in thread
From: Emru1 @ 2021-05-24 14:46 UTC (permalink / raw)
  To: ml

[-- 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.]+(?=)'

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

end of thread, other threads:[~2022-06-04  2:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24 14:46 [PR PATCH] New package: postman-8.5.1 Emru1
2022-05-20  2:12 ` github-actions
2022-06-04  2:08 ` [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).