summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-office/zfo-editor/zfo-editor-0.3.2.ebuild22
1 files changed, 14 insertions, 8 deletions
diff --git a/app-office/zfo-editor/zfo-editor-0.3.2.ebuild b/app-office/zfo-editor/zfo-editor-0.3.2.ebuild
index 302fc8a..da23f45 100644
--- a/app-office/zfo-editor/zfo-editor-0.3.2.ebuild
+++ b/app-office/zfo-editor/zfo-editor-0.3.2.ebuild
@@ -2,16 +2,16 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="6"
-
-DESCRIPTION="ZFO Editor is an application that enables work with ZFO format on Linux"
-
-SLOT="0"
+EAPI=6
PYTHON_COMPAT=( "python2_7" )
+DESCRIPTION="ZFO editor allows working with ZFO forms on systems which are not officially
+or at all supported by SW602 602XML Filler."
-inherit distutils-r1
+SLOT=0
+
+inherit distutils-r1 xdg-utils
HOMEPAGE="https://labs.nic.cz/cs/zfo-editor.html"
SRC_URI="https://www.nic.cz/files/labs/zfo_editor/${PN}-${PV}.tar.gz"
@@ -19,7 +19,13 @@ SRC_URI="https://www.nic.cz/files/labs/zfo_editor/${PN}-${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
-RDEPEND="dev-python/pywebkitgtk
- dev-python/lxml"
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pywebkitgtk[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}