app-backup/restic-browser-bin: new package, add 0.3.0
This commit is contained in:
parent
c674620c63
commit
9ffb3c4556
2
app-backup/restic-browser-bin/Manifest
Normal file
2
app-backup/restic-browser-bin/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST restic-browser-bin-0.3.0.zip 3751854 BLAKE2B 80e8aaec9e0b37b59af61d2bb52eeae3c61d099741d3122fd1bf2fe16ece2ea8814d4c516efb95a79a66bbb18be9c661cbacaae576758e705e9d789276b20ef5 SHA512 fc0fad191014ad2bf5e50fb5aecb94adca89c6ffa1a74e22d40dc661e4d5615047d128b59a104291a1a801f23ebc4cbc817151828cac068ad5a1a8bbf737eb91
|
||||
DIST restic-browser-bin_icon_39cb5d785a56395f083ff468beaeba4290e7f800.png 103029 BLAKE2B 17b832d77332883d110b47b9fb5f109e3bfc16310053d6544a9e2d90d60309389b3ef630ac0012a82c45cf0d50add063a18b7552cc19c23261dccda09d42c1db SHA512 edf1039abf8b765661aa828f9519be94236b92adae54b3fd894bbadf94704ef933e7958f97486771bc4137f60ac987838316ff9141fac9f91d67e4224e45c3c7
|
11
app-backup/restic-browser-bin/metadata.xml
Normal file
11
app-backup/restic-browser-bin/metadata.xml
Normal file
@ -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">
|
||||
<email>sighunter@gmx.de</email>
|
||||
<name>SigHunter</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">emuell/restic-browser</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -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}"
|
||||
make_desktop_entry "${MY_PN}" Restic-Browser "${MY_PN}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user