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..8112b59 --- /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 + dosym /opt/${MY_PN}/Postman /usr/bin/${MY_PN} + make_desktop_entry "postman" \ + "Postman" \ + "postman" \ + "Development;IDE;" + pax-mark m "${ED%/}/opt/${MY_PN}/${MY_PN^}" +}