diff --git a/app-office/onlyoffice-help-bin/Manifest b/app-office/onlyoffice-help-bin/Manifest index 84cfe4f..6bd0e93 100644 --- a/app-office/onlyoffice-help-bin/Manifest +++ b/app-office/onlyoffice-help-bin/Manifest @@ -1 +1,2 @@ DIST onlyoffice-help-bin-7.5.0_all.deb 279643504 BLAKE2B 7a58127c6ac2b9ee9cdfe7f74620c75774e4f1fd28d802e7353e09e4ef3e5116043850729c693d5e86ad14f61e8d7e06028f204bc4fdc12e4d76f4aa96590180 SHA512 506b14627346056fb5dbf98c59dbcebbafd35aae980178ab2a406ed2fc177cc5556a5f4f728cd7d33be29cf1121273883bcb718a9a66df53148fd042aaa6dd13 +DIST onlyoffice-help-bin-8.0.0_all.deb 283545426 BLAKE2B b52508110f4da68c8d93ba597a93ea28a12a20d82f1eb9e13c5fae49f67b70aa7f2187587f3f4d6b13b4723a4dcb6fffb89d83476a158ea2488fc5125263cbdc SHA512 87415c8bdd1d0cce786a5bef9a83de8e92fd2d7a728e553f7b2a9237eddd5eec90cb5dbf6d25bd62010ed0ee895c79379c2d7890c564870287933b1789746e55 diff --git a/app-office/onlyoffice-help-bin/onlyoffice-help-bin-8.0.0.ebuild b/app-office/onlyoffice-help-bin/onlyoffice-help-bin-8.0.0.ebuild new file mode 100644 index 0000000..13270f9 --- /dev/null +++ b/app-office/onlyoffice-help-bin/onlyoffice-help-bin-8.0.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit unpacker +# pax-utils xdg + +DESCRIPTION="ONLYOFFICE Desktop Editors local help files" +HOMEPAGE="https://www.onlyoffice.com/" + +MY_P="onlyoffice" +OPT="opt/${MY_P}" + +SRC_URI="https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v"${PV}"/${MY_P}-desktopeditors-help_all.deb -> "${P}"_all.deb" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="bindist strip mirror" + +RDEPEND=" + !app-office/onlyoffice-help + + || ( + ~app-office/onlyoffice-${PV} + ~app-office/onlyoffice-bin-${PV} + ) +" + +S=${WORKDIR} + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + gzip -d usr/share/doc/${MY_P}-desktopeditors-help/changelog.Debian.gz || die + mkdir -p usr/share/doc/${PF} + mv usr/share/doc/${MY_P}-desktopeditors-help/changelog.Debian usr/share/doc/${PF}/changelog || die + rm -rf usr/share/doc/${MY_P}-desktopeditors-help + + default +} + +src_install() { + mv * "${D}" || die +}