summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2007-07-09 01:24:15 +0000
committerSteve Arnold <nerdboy@gentoo.org>2007-07-09 01:24:15 +0000
commitb3d733e00c29fad618d2ae92c860f1103486c1a9 (patch)
treed5aa5e4a342a463598b501e5658300a4d9cb1955 /sci-mathematics/geomview
parentVersion bump #184629. (diff)
downloadgentoo-2-b3d733e00c29fad618d2ae92c860f1103486c1a9.tar.gz
gentoo-2-b3d733e00c29fad618d2ae92c860f1103486c1a9.tar.bz2
gentoo-2-b3d733e00c29fad618d2ae92c860f1103486c1a9.zip
updated desktop entry and added calls to desktop_database_update
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'sci-mathematics/geomview')
-rw-r--r--sci-mathematics/geomview/ChangeLog5
-rw-r--r--sci-mathematics/geomview/geomview-1.9.2.ebuild17
2 files changed, 17 insertions, 5 deletions
diff --git a/sci-mathematics/geomview/ChangeLog b/sci-mathematics/geomview/ChangeLog
index ad9a396d0217..fb839a4dce1e 100644
--- a/sci-mathematics/geomview/ChangeLog
+++ b/sci-mathematics/geomview/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-mathematics/geomview
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/ChangeLog,v 1.5 2007/07/06 07:30:51 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/ChangeLog,v 1.6 2007/07/09 01:24:15 nerdboy Exp $
+
+ 09 Jul 2007; Steve Arnold <nerdboy@gentoo.org> geomview-1.9.2.ebuild:
+ updated desktop entry and added calls to desktop_database_update
*geomview-1.9.2 (06 Jul 2007)
diff --git a/sci-mathematics/geomview/geomview-1.9.2.ebuild b/sci-mathematics/geomview/geomview-1.9.2.ebuild
index 30cac08b5b4b..fa0ad2024cb7 100644
--- a/sci-mathematics/geomview/geomview-1.9.2.ebuild
+++ b/sci-mathematics/geomview/geomview-1.9.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/geomview-1.9.2.ebuild,v 1.1 2007/07/06 07:30:51 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/geomview/geomview-1.9.2.ebuild,v 1.2 2007/07/09 01:24:15 nerdboy Exp $
-inherit eutils flag-o-matic
+inherit eutils flag-o-matic fdo-mime
DESCRIPTION="Interactive Geometry Viewer"
SRC_URI="http://mesh.dl.sourceforge.net/sourceforge/geomview/${P/_/-}.tar.bz2"
@@ -55,11 +55,11 @@ src_install() {
doicon ${FILESDIR}/geomview.png
make_desktop_entry geomview "GeomView ${PV}" \
"/usr/share/pixmaps/geomview.png" \
- "Application;Science;Math;Other"
+ "Science;Math;Education"
dodoc AUTHORS ChangeLog NEWS INSTALL.Geomview
- if !use pdf; then
+ if ! use pdf; then
rm ${D}usr/share/doc/${PF}/${PN}.pdf
fi
@@ -84,3 +84,12 @@ pkg_postinst() {
elog "into your emacs configuration is left as an exercise..."
elog ""
}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
+