-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-misc/hoppscotch-bin: new package
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST Hoppscotch_linux_x64.deb 12589732 BLAKE2B 55b61068cb0fe00b072789cd9633e23b6cef58d54f5e3de89845de02e6ea38706cec06a637a4da405e81ea9968dceb0bec201fa37823d4fba3a4a63165549fab SHA512 94677be511a36ea1cced553515101426119bae27f818b779602b80559fab1520ada84da1d06163ccf8e63eb588443107fee66439de112c18cdbd618446bb7f91 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |