summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild')
-rw-r--r--sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild
index edd4b56..641fb8a 100644
--- a/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild
+++ b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94.ebuild
@@ -15,21 +15,27 @@ IUSE=""
DEPEND="dev-util/pkgconfig
x11-misc/shared-mime-info
- dev-util/intltool"
+ dev-util/intltool
+ dev-util/desktop-file-utils"
RDEPEND=""
+src_compile() {
+ econf --disable-update-database --htmldir=/usr/share/doc/${PN}/html
+ emake || die "make failed"
+}
+
src_install() {
make DESTDIR=${D} install
# Avoid collisions.
- rm -rf ${D}/usr/share/mime/XMLnamespaces ${D}/usr/share/mime/magic \
- ${D}/usr/share/mime/subclasses ${D}/usr/share/mime/mime.cache \
- ${D}/usr/share/mime/aliases ${D}/usr/share/mime/globs
+# rm -rf ${D}/usr/share/mime/XMLnamespaces ${D}/usr/share/mime/magic \
+# ${D}/usr/share/mime/subclasses ${D}/usr/share/mime/mime.cache \
+# ${D}/usr/share/mime/aliases ${D}/usr/share/mime/globs
}
pkg_postinst() {
-# fdo-mime_desktop_database_update
+ fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}