summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/scribus/scribus-1.4.0.ebuild')
-rw-r--r--app-office/scribus/scribus-1.4.0.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/app-office/scribus/scribus-1.4.0.ebuild b/app-office/scribus/scribus-1.4.0.ebuild
index f3381d2a1a9e..0c1e651e1f90 100644
--- a/app-office/scribus/scribus-1.4.0.ebuild
+++ b/app-office/scribus/scribus-1.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.4.0.ebuild,v 1.1 2012/01/04 09:11:02 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.4.0.ebuild,v 1.2 2012/01/22 13:01:35 jlec Exp $
EAPI=4
@@ -94,11 +94,17 @@ src_install() {
mv "${ED}"/usr/share/doc/${PF}/{en,html} || die
ln -sf html "${ED}"/usr/share/doc/${PF}/en || die
-
+ docompress -x /usr/share/doc/${PF}/en
doicon resources/icons/scribus.png
domenu scribus.desktop
}
+pkg_preinst() {
+ # 399595
+ rm -vf "${ED}"/usr/share/doc/${PF}/en* || die
+ ln -sf html "${ED}"/usr/share/doc/${PF}/en
+}
+
pkg_postinst() {
fdo-mime_mime_database_update
}