summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-07 18:20:45 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-07 18:20:45 +0000
commit8824a8351c1f868f15601a98332c35c8b37bc00b (patch)
tree8af3db47852505e47d8414e4d2bd70092df32c2b /eclass/kde.eclass
parentVersion bump (diff)
downloadgentoo-2-8824a8351c1f868f15601a98332c35c8b37bc00b.tar.gz
gentoo-2-8824a8351c1f868f15601a98332c35c8b37bc00b.tar.bz2
gentoo-2-8824a8351c1f868f15601a98332c35c8b37bc00b.zip
Add global kbuildsycoca creation after installing/removing KDE packages (~arch only for now).
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r--eclass/kde.eclass12
1 files changed, 10 insertions, 2 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index caca5cc03af6..ee5cbb5f0376 100644
--- a/eclass/kde.eclass
+++ b/eclass/kde.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.151 2006/05/01 15:38:03 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.152 2006/05/07 18:20:45 flameeyes Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -335,4 +335,12 @@ slot_rebuild() {
echo
}
-EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install
+kde_pkg_postinst() {
+ buildsycoca
+}
+
+kde_pkg_postrm() {
+ buildsycoca
+}
+
+EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst pkg_postrm