blob: 7cc74c9b999811bf213ee86e0b41517a73f86995 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MY_PN=${PN/-bin/}
inherit eutils
DESCRIPTION="Supercharge your API workflow"
HOMEPAGE="https://www.getpostman.com/"
SRC_URI="https://dl.pstmn.io/download/version/${PV}/linux64 -> ${P}.tar.gz"
KEYWORDS="~amd64"
LICENSE="MPL-2.0"
SLOT="0"
IUSE=""
RDEPEND="gnome-base/gconf"
DEPEND="${RDEPEND}"
S="${WORKDIR}/Postman/app"
src_install() {
insinto /opt/${MY_PN}
doins -r *
exeinto /opt/${MY_PN}
doexe Postman
dosym /opt/${MY_PN}/Postman /usr/bin/${MY_PN}
newicon -s 128 "${S}/resources/app/assets/icon.png" postman.png
make_desktop_entry "postman" \
"Postman" \
"/usr/share/icons/hicolor/128x128/apps/postman.png" \
"Development" \
"Comment=Postman API IDE"
}
|