Skip to content

Commit

Permalink
net-misc/bruno-bin: new package
Browse files Browse the repository at this point in the history
  • Loading branch information
gouwazi authored and liangyongxiang committed Nov 25, 2024
1 parent f2715b3 commit 5697625
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-misc/bruno-bin/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST bruno_1.35.0_amd64_linux.deb 85107198 BLAKE2B c00c0a8eb7442b098e98c9a9ff1470ecc296bbcf5e74ddf7a34f5b7f948c7724bfa6075dbe321346930f75f595abc7f6e30b9fb8f2f8dcd53b88860f0be21cc4 SHA512 45b0fdb70b92b06c4e7c069a5d10e9481172be4aed9d1c13580a38b820f420d1a0550fc7612bd547cb4a90548f2d1d87a16dc7a1552a850169d976c84ee19a19
34 changes: 34 additions & 0 deletions net-misc/bruno-bin/bruno-bin-1.35.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit unpacker desktop xdg

DESCRIPTION="Opensource IDE For Exploring and Testing Api's"
HOMEPAGE="https://www.usebruno.com/"
SRC_URI="https://github.com/usebruno/bruno/releases/download/v${PV}/bruno_${PV}_amd64_linux.deb"

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

SLOT="0"
KEYWORDS="~amd64"

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

RESTRICT="strip mirror"

src_install() {
insinto /opt/Bruno
doins -r "${S}"/opt/Bruno/.
fperms +x /opt/Bruno/bruno
fperms +x /opt/Bruno/chrome-sandbox
fperms +x /opt/Bruno/chrome_crashpad_handler

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

for size in 16 24 32 48 64 128 256 512 1024; do
doicon -s ${size} "${S}"/usr/share/icons/hicolor/${size}x${size}/apps/bruno.png
done
}
11 changes: 11 additions & 0 deletions net-misc/bruno-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">usebruno/bruno</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 5697625

Please sign in to comment.