insomnia-bin: new ebuild, a full-fledged postman opensource alternative

This commit is contained in:
Anton Bolshakov 2021-08-11 08:12:20 +08:00
parent 8486c0ee47
commit a080a16180
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST insomnia-bin-2021.4.1.tar.gz 108678210 BLAKE2B 4bdc5431bb35ba08d741b95de889cd63796797528099e306c120cb0ace9fa235fb11f70b58c7414a1033833c5558b8c0724a111adcd6c82f3e271f75f2a3ce00 SHA512 01fa400e311972e5238135c973377c17a328d53027637f2837fe5482193d80ef3c219cef5c807a2340064315bb49fa7f3e11ae6f3744a8f5c54e58d9a9a9d52e

View 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
}