app-backup/restic-browser-bin: add 0.3.1

This commit is contained in:
SigHunter 2024-05-31 10:52:52 +02:00
parent e17cb59502
commit 8a710153da
2 changed files with 42 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST restic-browser-bin-0.3.0.zip 3751854 BLAKE2B 80e8aaec9e0b37b59af61d2bb52eeae3c61d099741d3122fd1bf2fe16ece2ea8814d4c516efb95a79a66bbb18be9c661cbacaae576758e705e9d789276b20ef5 SHA512 fc0fad191014ad2bf5e50fb5aecb94adca89c6ffa1a74e22d40dc661e4d5615047d128b59a104291a1a801f23ebc4cbc817151828cac068ad5a1a8bbf737eb91
DIST restic-browser-bin-0.3.1.zip 2900877 BLAKE2B d4d573ee0b709fa399e4f134bc39dbbbf1a03a01eaf494de85d0fb311789a1ab94e0bc73cbd477c3de6cd9a54c25723a504bda9b81d511f92eb817aa4b3b65a8 SHA512 9b66efa7045f4d12d51d132e114641a06ea921a767c19bc857df4212af0344a35bc8adc3db81578be41e5c2a8ccc4e2586517aa0a68fce18f0652df2bcbcb4d8
DIST restic-browser-bin_icon_39cb5d785a56395f083ff468beaeba4290e7f800.png 103029 BLAKE2B 17b832d77332883d110b47b9fb5f109e3bfc16310053d6544a9e2d90d60309389b3ef630ac0012a82c45cf0d50add063a18b7552cc19c23261dccda09d42c1db SHA512 edf1039abf8b765661aa828f9519be94236b92adae54b3fd894bbadf94704ef933e7958f97486771bc4137f60ac987838316ff9141fac9f91d67e4224e45c3c7

View File

@ -0,0 +1,41 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
MY_PN="${PN/-bin/}"
COMMIT="39cb5d785a56395f083ff468beaeba4290e7f800"
ICON="${PN}_icon_${COMMIT}.png"
DESCRIPTION="A GUI to browse and restore restic backup repositories"
HOMEPAGE="https://github.com/emuell/restic-browser"
SRC_URI="
https://github.com/emuell/${MY_PN}/releases/download/v${PV}/${MY_PN}-v${PV}-linux.zip -> ${P}.zip
https://raw.githubusercontent.com/emuell/${MY_PN}/${COMMIT}/src-tauri/icons/icon.png -> ${ICON}
"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
app-backup/restic
net-libs/webkit-gtk:4
"
BDEPEND="app-arch/unzip"
QA_PREBUILT="*"
src_unpack() {
unpack "${P}.zip"
unpack "${WORKDIR}/${MY_PN}.tar"
}
src_install() {
dobin "${MY_PN}"
newicon "${DISTDIR}/${ICON}" "${MY_PN}.png"
make_desktop_entry "${MY_PN}" Restic-Browser "${MY_PN}"
}