mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-14 19:01:09 +02:00
insomnia-bin: new ebuild, a full-fledged postman opensource alternative
This commit is contained in:
parent
8486c0ee47
commit
a080a16180
2 changed files with 23 additions and 0 deletions
1
net-proxy/insomnia-bin/Manifest
Normal file
1
net-proxy/insomnia-bin/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST insomnia-bin-2021.4.1.tar.gz 108678210 BLAKE2B 4bdc5431bb35ba08d741b95de889cd63796797528099e306c120cb0ace9fa235fb11f70b58c7414a1033833c5558b8c0724a111adcd6c82f3e271f75f2a3ce00 SHA512 01fa400e311972e5238135c973377c17a328d53027637f2837fe5482193d80ef3c219cef5c807a2340064315bb49fa7f3e11ae6f3744a8f5c54e58d9a9a9d52e
|
||||
22
net-proxy/insomnia-bin/insomnia-bin-2021.4.1.ebuild
Normal file
22
net-proxy/insomnia-bin/insomnia-bin-2021.4.1.ebuild
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="Insomnia.Core"
|
||||
|
||||
DESCRIPTION="REST API client, a postman alternative"
|
||||
HOMEPAGE="https://github.com/Kong/insomnia https://insomnia.rest/"
|
||||
SRC_URI="https://github.com/Kong/insomnia/releases/download/core%40${PV}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_install() {
|
||||
dodir /opt/${MY_PN}
|
||||
cp -R "${S}"/* "${D}"/opt/${MY_PN} || die "Copy files failed"
|
||||
dosym "${EPREFIX}"/opt/${MY_PN}/insomnia /usr/bin/insomnia
|
||||
}
|
||||
Loading…
Reference in a new issue