Skip to content

Commit

Permalink
net-misc/hoppscotch-bin: new package
Browse files Browse the repository at this point in the history
  • Loading branch information
gouwazi authored and peeweep committed Nov 14, 2024
1 parent 1880c85 commit 1ea56fa
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-misc/hoppscotch-bin/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST Hoppscotch_linux_x64.deb 12589732 BLAKE2B 55b61068cb0fe00b072789cd9633e23b6cef58d54f5e3de89845de02e6ea38706cec06a637a4da405e81ea9968dceb0bec201fa37823d4fba3a4a63165549fab SHA512 94677be511a36ea1cced553515101426119bae27f818b779602b80559fab1520ada84da1d06163ccf8e63eb588443107fee66439de112c18cdbd618446bb7f91
31 changes: 31 additions & 0 deletions net-misc/hoppscotch-bin/hoppscotch-bin-24.10.2.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit unpacker desktop xdg

DESCRIPTION="Open source API development ecosystem"
HOMEPAGE="https://hoppscotch.io"
SRC_URI="https://github.com/hoppscotch/releases/releases/download/v$(ver_rs 3 '-')/Hoppscotch_linux_x64.deb"

S="${WORKDIR}"
LICENSE="MIT"

SLOT="0"
KEYWORDS="~amd64"

RDEPEND="net-libs/webkit-gtk:4"

RESTRICT="strip mirror"

src_install() {
dobin "${S}"/usr/bin/hoppscotch

domenu "${S}"/usr/share/applications/hoppscotch.desktop

for size in 32 128; do
doicon -s ${size} "${S}"/usr/share/icons/hicolor/${size}x${size}/apps/hoppscotch.png
done
doicon -s 256 "${S}"/usr/share/icons/hicolor/256x256@2/apps/hoppscotch.png
}
11 changes: 11 additions & 0 deletions net-misc/hoppscotch-bin/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>gouwazi</name>
<email>gouwazi@protonmail.com</email>
</maintainer>
<upstream>
<remote-id type="github">hoppscotch/release</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 1ea56fa

Please sign in to comment.