mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-29 03:34:51 +01:00
27 lines
771 B
Bash
27 lines
771 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
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/chrome_crashpad_handler
|
|
opt/Insomnia.Core/*.so.1
|
|
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
|
|
}
|