insomnia-bin-2021.5.2.ebuild

This commit is contained in:
Anton Bolshakov 2021-08-31 17:44:22 +08:00
parent 48f1e402cf
commit 2a86315277
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 26 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST insomnia-bin-2021.4.1.tar.gz 108678210 BLAKE2B 4bdc5431bb35ba08d741b95de889cd63796797528099e306c120cb0ace9fa235fb11f70b58c7414a1033833c5558b8c0724a111adcd6c82f3e271f75f2a3ce00 SHA512 01fa400e311972e5238135c973377c17a328d53027637f2837fe5482193d80ef3c219cef5c807a2340064315bb49fa7f3e11ae6f3744a8f5c54e58d9a9a9d52e
DIST insomnia-bin-2021.5.2.tar.gz 102760826 BLAKE2B a2e559543d047da6b73d3dc5b72e3139570b9a5095956cc64a4779b170209bd256c2dd82f91cbfec8463565e97b9baf16a7d6b98cb083680144536d2840e1e46 SHA512 ca18ddd50061197d5ee5873db7f450cfd4993200941c1ee78c9e6650f3cacbc185b7ff8852a13173ed25cbf1ef06784173fdb30e438c5b0458f7601f6d69431c

View file

@ -0,0 +1,25 @@
# 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}"
QA_PREBUILT="/opt/Insomnia.Core/insomnia /opt/Insomnia.Core/chrome-sandbox
/opt/Insomnia.Core/*.so"
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
}