summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2020-08-15 20:33:33 +0700
committerAndrey Grozin <grozin@gentoo.org>2020-08-15 20:33:33 +0700
commite95d1edfd48d8022ee09d9d349cfdb154ba114ff (patch)
treeab1264834c868d16fa6ecbef20cb64a9832ddb09 /app-officeext/ooofbtools/ooofbtools-2.57.ebuild
parentnet-analyzer/net-snmp: Old (diff)
downloadgentoo-e95d1edfd48d8022ee09d9d349cfdb154ba114ff.tar.gz
gentoo-e95d1edfd48d8022ee09d9d349cfdb154ba114ff.tar.bz2
gentoo-e95d1edfd48d8022ee09d9d349cfdb154ba114ff.zip
app-officeext/ooofbtools: bump to 2.57
Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'app-officeext/ooofbtools/ooofbtools-2.57.ebuild')
-rw-r--r--app-officeext/ooofbtools/ooofbtools-2.57.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/app-officeext/ooofbtools/ooofbtools-2.57.ebuild b/app-officeext/ooofbtools/ooofbtools-2.57.ebuild
new file mode 100644
index 00000000000..942835191dd
--- /dev/null
+++ b/app-officeext/ooofbtools/ooofbtools-2.57.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 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*
+}