net-misc/postman-bin: Added new package v.7.35.0

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-11-07 14:40:46 +01:00
parent f872adcf3a
commit fe309e30d5
Signed by: y0rune
GPG Key ID: F204C385F57EB348
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST postman-bin-7.35.0-amd64.tar.gz 109738691 BLAKE2B a804a2fa71c4362751097df4b002efcad0eb9e220b8913879dc9ce840590152639f4bc641e52e5d0ae57574a14d25f7102e2c3aa234c7d392cbaf603ab4db489 SHA512 a06f0a785fe583c2cf7141413a243994c98b618a2fd8dd68334e96734325c2c88926536e8c7a95a18b499833757e0957091937eea214e9682a75b7ffa485d2ee

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>y0rune@aol.com</email>
<name>Marcin Woźniak</name>
</maintainer>
</pkgmetadata>

View File

@ -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^}"
}