From 4fcd19cf9339d4cbf015b5fe2f25abeeb491a8d7 Mon Sep 17 00:00:00 2001 From: serg-sg Date: Thu, 7 Mar 2024 12:55:29 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BB=D0=BE=D0=BA=D0=B0=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D1=8B=D1=85=20=D1=84=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2=20=D1=81?= =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20onlyoffice-help-bin=20?= =?UTF-8?q?=D0=B4=D0=BE=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=B8=208.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app-office/onlyoffice-help-bin/Manifest | 1 + .../onlyoffice-help-bin-8.0.1.ebuild | 48 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 app-office/onlyoffice-help-bin/onlyoffice-help-bin-8.0.1.ebuild diff --git a/app-office/onlyoffice-help-bin/Manifest b/app-office/onlyoffice-help-bin/Manifest index 6bd0e93..128e73d 100644 --- a/app-office/onlyoffice-help-bin/Manifest +++ b/app-office/onlyoffice-help-bin/Manifest @@ -1,2 +1,3 @@ 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 +DIST onlyoffice-help-bin-8.0.1_all.deb 283868454 BLAKE2B 1a92f897e3b4c1cee797e8eda6b33695e6ccb6e1c2a52d8ecb8efdc540b4f5f8d5628b715bb2a78fc0028c777555b56497a47f640f6b62c5748212e2f7ff5b96 SHA512 c1c87137954ca028f825c4b8dfa79345e3dbf9fa62ed11419d70c963672c2466829e08277cb43933fff339fa4c838fc15691044fe6fde02bbacc80c6b2d1af68 diff --git a/app-office/onlyoffice-help-bin/onlyoffice-help-bin-8.0.1.ebuild b/app-office/onlyoffice-help-bin/onlyoffice-help-bin-8.0.1.ebuild new file mode 100644 index 0000000..13270f9 --- /dev/null +++ b/app-office/onlyoffice-help-bin/onlyoffice-help-bin-8.0.1.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 +}