diff options
Diffstat (limited to 'app-officeext/ooofbtools/ooofbtools-2.55.ebuild')
-rw-r--r-- | app-officeext/ooofbtools/ooofbtools-2.55.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-officeext/ooofbtools/ooofbtools-2.55.ebuild b/app-officeext/ooofbtools/ooofbtools-2.55.ebuild new file mode 100644 index 000000000000..e7c531d9b5ce --- /dev/null +++ b/app-officeext/ooofbtools/ooofbtools-2.55.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="OOoFBTools" +OFFICE_EXTENSIONS=( "${MY_PN}.oxt" ) +inherit office-ext-r1 + +DESCRIPTION="Open/LibreOffice extension for the FictionBook2 format with validation" +HOMEPAGE="https://sourceforge.net/projects/fbtools/" +SRC_URI="mirror://sourceforge/fbtools/files/release/${MY_PN}-${PV}.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + app-arch/zip + dev-libs/libxml2 +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +OFFICE_EXTENSIONS_LOCATION="${S}" + +src_prepare() { + default + + # Remove Windows cruft + pushd "${WORKDIR}/${MY_PN}.oxt" &>/dev/null || die + rm -r win32 || die + popd &>/dev/null || die +} + +src_install() { + office-ext-r1_src_install + dodoc ChangeLog* +} |