httptoolkit-bin: v1.0.2, new tool

This commit is contained in:
blshkv 2020-11-16 21:55:11 +08:00
parent 6f9e25b14c
commit 04be1bb20d
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 HTTP.Toolkit-linux-x64-1.0.2.zip 125454681 BLAKE2B 42f679ac44b15aa59c912835aa6bd1dda72c97350711ec61158d42936962622d056fbca955214e6a9b57819e650f4700b08f7c158c3810a8f89ddd7d03f4d7a6 SHA512 9dd9233551accd463145155bd2143d1526aea950553e1c8c0f922c2e4708c9abb33259ad8f87346c5411fedbf8a6a6da657deb39f9ddb62d5d5ca5167f032c7e

View file

@ -0,0 +1,22 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="httptoolkit"
DESCRIPTION="Intercept & view all your HTTP(S) Mock endpoints"
HOMEPAGE="https://github.com/httptoolkit/httptoolkit.tech"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}-desktop/releases/download/v${PV}/HTTP.Toolkit-linux-x64-${PV}.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
S="${WORKDIR}/HTTP Toolkit-linux-x64"
src_install() {
dodir /opt/${MY_PN}
cp -R "${S}"/* "${D}"/opt/${MY_PN} || die "Copy files failed"
dosym "${EPREFIX}"/opt/${MY_PN}/${MY_PN} /usr/bin/${MY_PN}
}