mirror of
https://github.com/iritmaximus/overlay.git
synced 2026-10-12 19:23:34 +03:00
added insomnia ebuild to repo
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
DEFINED_PHASES=configure install unpack
|
||||
DESCRIPTION=Insomnia RESTful API tester
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/Kong/insomnia
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-2+
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/Kong/insomnia/releases/download/core@2023.4.0/Insomnia.Core-2023.4.0.tar.gz
|
||||
_md5_=8553da94796f77717151b2ffb90b16c2
|
||||
@@ -0,0 +1,9 @@
|
||||
DEFINED_PHASES=configure install unpack
|
||||
DESCRIPTION=Insomnia RESTful API tester
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/Kong/insomnia
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-2+
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/Kong/insomnia/releases/download/core%402023.40/insomnia.Core-2023.40.tar.gz
|
||||
_md5_=3e1db3dded89b86d8f5c6a73e43900e0
|
||||
@@ -0,0 +1,9 @@
|
||||
DEFINED_PHASES=configure install unpack
|
||||
DESCRIPTION=Insomnia RESTful API tester
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/Kong/insomnia
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-2+
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/Kong/insomnia/releases/download/core@2023.40.0/Insomnia.Core-2023.40.0.tar.gz
|
||||
_md5_=64e2aa9ca8f53c0c8397ec81cce6a8ee
|
||||
@@ -0,0 +1,9 @@
|
||||
DEFINED_PHASES=configure install unpack
|
||||
DESCRIPTION=Insomnia RESTful API tester
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/Kong/insomnia
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-2+
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/Kong/insomnia/archive/refs/tags/v3.18.0.tar.gz
|
||||
_md5_=65cf63a1c96ae915ff6ff94a2ca31b0d
|
||||
@@ -0,0 +1 @@
|
||||
DIST Insomnia.Core-2023.4.0.tar.gz 135919711 BLAKE2B 7b8f0e576adeb494a13ab67883dfbbd3b9efbb948c0a27e1cb816d504a8f21bee3757eb3a75dba707ba1633e225350a7bc712a0f6ea8857cdd6ce7fb061c9b7f SHA512 2a35aa362d40a6dab45655b4e561b5d37ee8693809492888259f771b52522e20452f0f3b9835c0196e56149052d881e5e94a89b55d12668995e560e3c85777bf
|
||||
@@ -0,0 +1,46 @@
|
||||
# Copyright 2023 Aaro Koivukangas
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# Ebuild of insomnia RESTful API-tester. Installed as a precompiled binary
|
||||
# because of npm being hard to package on gentoo :s
|
||||
#
|
||||
# It requires network in src_install phase which is not ideal because of
|
||||
# sandboxing things not allowing network access during installation...
|
||||
|
||||
|
||||
EAPI=8
|
||||
|
||||
P_NAME="Insomnia.Core-${PV}"
|
||||
S="${WORKDIR}/${P_NAME}"
|
||||
|
||||
DESCRIPTION="Insomnia RESTful API tester"
|
||||
HOMEPAGE="https://github.com/Kong/insomnia"
|
||||
SRC_URI="https://github.com/Kong/insomnia/releases/download/core@${PV}/Insomnia.Core-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# DEPEND=">=net-libs/nodejs-18.6.0[npm]
|
||||
# >=dev-vsc/git-2.41.0"
|
||||
|
||||
src_unpack() {
|
||||
# einfo "Unpacking"
|
||||
unpack ${A}
|
||||
# ls ${S}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# einfo "Making dirs"
|
||||
dodir /usr/bin/
|
||||
dodir /usr/lib/insomnia/
|
||||
|
||||
# einfo "Copying files to lib in ${D}/usr/lib/insomnia"
|
||||
cp ${S}/* ${D}/usr/lib/insomnia -r || die "Install failed"
|
||||
# ls ${D}/usr/lib/insomnia -l
|
||||
|
||||
# einfo "Doing symlink"
|
||||
dosym ${EPREFIX}/usr/lib/insomnia/insomnia ${EPREFIX}/usr/bin/insomnia
|
||||
# ls ${D}/usr/bin -l
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user