From fe309e30d57a680f831f9c15df3360263de13d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sat, 7 Nov 2020 14:40:46 +0100 Subject: [PATCH 1/2] net-misc/postman-bin: Added new package v.7.35.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- net-misc/postman-bin/Manifest | 1 + net-misc/postman-bin/metadata.xml | 8 +++++ .../postman-bin/postman-bin-7.35.0.ebuild | 31 +++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 net-misc/postman-bin/Manifest create mode 100644 net-misc/postman-bin/metadata.xml create mode 100644 net-misc/postman-bin/postman-bin-7.35.0.ebuild diff --git a/net-misc/postman-bin/Manifest b/net-misc/postman-bin/Manifest new file mode 100644 index 0000000..5d2777b --- /dev/null +++ b/net-misc/postman-bin/Manifest @@ -0,0 +1 @@ +DIST postman-bin-7.35.0-amd64.tar.gz 109738691 BLAKE2B a804a2fa71c4362751097df4b002efcad0eb9e220b8913879dc9ce840590152639f4bc641e52e5d0ae57574a14d25f7102e2c3aa234c7d392cbaf603ab4db489 SHA512 a06f0a785fe583c2cf7141413a243994c98b618a2fd8dd68334e96734325c2c88926536e8c7a95a18b499833757e0957091937eea214e9682a75b7ffa485d2ee diff --git a/net-misc/postman-bin/metadata.xml b/net-misc/postman-bin/metadata.xml new file mode 100644 index 0000000..7bb0ff7 --- /dev/null +++ b/net-misc/postman-bin/metadata.xml @@ -0,0 +1,8 @@ + + + + + y0rune@aol.com + Marcin Woźniak + + diff --git a/net-misc/postman-bin/postman-bin-7.35.0.ebuild b/net-misc/postman-bin/postman-bin-7.35.0.ebuild new file mode 100644 index 0000000..226df6f --- /dev/null +++ b/net-misc/postman-bin/postman-bin-7.35.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop pax-utils xdg + +MY_PN="${PN/-bin/}" + +DESCRIPTION="Supercharge your API workflow" +HOMEPAGE="https://www.postman.com" +SRC_URI="https://dl.pstmn.io/download/version/${PV}/linux64 -> ${P}-amd64.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="mirror strip" + +S="${WORKDIR}/${MY_PN^}/app" + +src_install() { + mkdir -p "${ED%/}/opt/${MY_PN}" + cp -r . "${ED%/}/opt/${MY_PN}" + newicon -s 128 resources/app/assets/icon.png ${MY_PN}.png + dobin "${FILESDIR}/${MY_PN}" + make_desktop_entry "postman" \ + "Postman" \ + "postman" \ + "Development;IDE;" + pax-mark m "${ED%/}/opt/${MY_PN}/${MY_PN^}" +} From da0e768087fb4f0c3b948da93dea8cd3fabd4b42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sun, 8 Nov 2020 12:12:38 +0100 Subject: [PATCH 2/2] net-misc/postman-bin: Added postman-bin-7.35.0; Changed dobin to dosym MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- net-misc/postman-bin/postman-bin-7.35.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/postman-bin/postman-bin-7.35.0.ebuild b/net-misc/postman-bin/postman-bin-7.35.0.ebuild index 226df6f..8112b59 100644 --- a/net-misc/postman-bin/postman-bin-7.35.0.ebuild +++ b/net-misc/postman-bin/postman-bin-7.35.0.ebuild @@ -22,7 +22,7 @@ src_install() { mkdir -p "${ED%/}/opt/${MY_PN}" cp -r . "${ED%/}/opt/${MY_PN}" newicon -s 128 resources/app/assets/icon.png ${MY_PN}.png - dobin "${FILESDIR}/${MY_PN}" + dosym /opt/${MY_PN}/Postman /usr/bin/${MY_PN} make_desktop_entry "postman" \ "Postman" \ "postman" \