Date: Monday, November 21, 2011 @ 17:57:37 Author: andrea Revision: 143045
python2 and .install fixes Added: kdebase/trunk/kdebase-dolphin.install kdebase/trunk/kdebase-konqueror.install kdegames/trunk/kdegames-kpatience.install kdegraphics-mobipocket/trunk/kdegraphics-mobipocket.install kdemultimedia/trunk/kdemultimedia-dragonplayer.install kdesdk/trunk/kdesdk-cervisia.install kdesdk/trunk/kdesdk-kcachegrind.install kdesdk/trunk/kdesdk-kompare.install kdesdk/trunk/kdesdk-kuiviewer.install kdesdk/trunk/kdesdk-lokalize.install kdesdk/trunk/kdesdk-umbrello.install kdewebdev/trunk/kdewebdev-kimagemapeditor.install Modified: kdebase/trunk/PKGBUILD kdebindings-perlqt/trunk/PKGBUILD kdegames/trunk/PKGBUILD kdegraphics-mobipocket/trunk/PKGBUILD kdemultimedia/trunk/PKGBUILD kdesdk-kate/trunk/kdesdk-kate.install kdesdk/trunk/PKGBUILD kdesdk/trunk/fix-python2-path.patch kdeutils-kremotecontrol/trunk/PKGBUILD kdeutils-kwallet/trunk/PKGBUILD kdeutils-kwallet/trunk/kdeutils-kwallet.install kdeutils-printer-applet/trunk/PKGBUILD kdewebdev/trunk/PKGBUILD -------------------------------------------------------------+ kdebase/trunk/PKGBUILD | 15 ++-- kdebase/trunk/kdebase-dolphin.install | 11 ++ kdebase/trunk/kdebase-konqueror.install | 12 +++ kdebindings-perlqt/trunk/PKGBUILD | 1 kdegames/trunk/PKGBUILD | 2 kdegames/trunk/kdegames-kpatience.install | 12 +++ kdegraphics-mobipocket/trunk/PKGBUILD | 1 kdegraphics-mobipocket/trunk/kdegraphics-mobipocket.install | 11 ++ kdemultimedia/trunk/PKGBUILD | 2 kdemultimedia/trunk/kdemultimedia-dragonplayer.install | 12 +++ kdesdk-kate/trunk/kdesdk-kate.install | 7 + kdesdk/trunk/PKGBUILD | 37 ++++++---- kdesdk/trunk/fix-python2-path.patch | 34 --------- kdesdk/trunk/kdesdk-cervisia.install | 12 +++ kdesdk/trunk/kdesdk-kcachegrind.install | 12 +++ kdesdk/trunk/kdesdk-kompare.install | 12 +++ kdesdk/trunk/kdesdk-kuiviewer.install | 12 +++ kdesdk/trunk/kdesdk-lokalize.install | 12 +++ kdesdk/trunk/kdesdk-umbrello.install | 12 +++ kdeutils-kremotecontrol/trunk/PKGBUILD | 1 kdeutils-kwallet/trunk/PKGBUILD | 1 kdeutils-kwallet/trunk/kdeutils-kwallet.install | 6 - kdeutils-printer-applet/trunk/PKGBUILD | 4 + kdewebdev/trunk/PKGBUILD | 2 kdewebdev/trunk/kdewebdev-kimagemapeditor.install | 12 +++ 25 files changed, 193 insertions(+), 62 deletions(-) Modified: kdebase/trunk/PKGBUILD =================================================================== --- kdebase/trunk/PKGBUILD 2011-11-21 22:39:45 UTC (rev 143044) +++ kdebase/trunk/PKGBUILD 2011-11-21 22:57:37 UTC (rev 143045) @@ -40,6 +40,7 @@ 'kdegraphics-thumbnailers: thumbnailers for graphics file' 'ruby: servicemenu installation') url="http://kde.org/applications/system/dolphin/" + install=kdebase-dolphin.install cd $srcdir/build/dolphin make DESTDIR=$pkgdir install cd $srcdir/build/doc/dolphin @@ -94,13 +95,13 @@ depends=('kdebase-dolphin' 'kdebase-keditbookmarks') optdepends=('kwebkitpart: to enable webkit engine') url="http://kde.org/applications/internet/konqueror/" - install='kdebase.install' - conflicts=('kdebase-nsplugins') - replaces=('kdebase-nsplugins') - for i in konqueror doc/konqueror nsplugins; do - cd $srcdir/build/${i} - make DESTDIR=$pkgdir install - done + install='kdebase-konqueror.install' + conflicts=('kdebase-nsplugins') + replaces=('kdebase-nsplugins') + for i in konqueror doc/konqueror nsplugins; do + cd $srcdir/build/${i} + make DESTDIR=$pkgdir install + done } package_kdebase-lib() { Added: kdebase/trunk/kdebase-dolphin.install =================================================================== --- kdebase/trunk/kdebase-dolphin.install (rev 0) +++ kdebase/trunk/kdebase-dolphin.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Added: kdebase/trunk/kdebase-konqueror.install =================================================================== --- kdebase/trunk/kdebase-konqueror.install (rev 0) +++ kdebase/trunk/kdebase-konqueror.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Modified: kdebindings-perlqt/trunk/PKGBUILD =================================================================== --- kdebindings-perlqt/trunk/PKGBUILD 2011-11-21 22:39:45 UTC (rev 143044) +++ kdebindings-perlqt/trunk/PKGBUILD 2011-11-21 22:57:37 UTC (rev 143045) @@ -20,6 +20,7 @@ cd build cmake ../perlqt-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr make } Modified: kdegames/trunk/PKGBUILD =================================================================== --- kdegames/trunk/PKGBUILD 2011-11-21 22:39:45 UTC (rev 143044) +++ kdegames/trunk/PKGBUILD 2011-11-21 22:57:37 UTC (rev 143045) @@ -362,7 +362,7 @@ pkgdesc='Patience Card Game' depends=('kdebase-runtime' 'kdegames-libkdegames') url="http://kde.org/applications/games/kpatience/" - install='kdegames.install' + install='kdegames-kpatience.install' replaces=('kdegames-kpat') cd $srcdir/build/kpat make DESTDIR=$pkgdir install Added: kdegames/trunk/kdegames-kpatience.install =================================================================== --- kdegames/trunk/kdegames-kpatience.install (rev 0) +++ kdegames/trunk/kdegames-kpatience.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Modified: kdegraphics-mobipocket/trunk/PKGBUILD =================================================================== --- kdegraphics-mobipocket/trunk/PKGBUILD 2011-11-21 22:39:45 UTC (rev 143044) +++ kdegraphics-mobipocket/trunk/PKGBUILD 2011-11-21 22:57:37 UTC (rev 143045) @@ -12,6 +12,7 @@ makedepends=('cmake' 'automoc4') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') +install=${pkgname}.install source=("http://download.kde.org/unstable/${pkgver}/src/mobipocket-${pkgver}.tar.bz2") sha1sums=('1da0a6d283b0ee361afeb27b0e03901581b86e8a') Added: kdegraphics-mobipocket/trunk/kdegraphics-mobipocket.install =================================================================== --- kdegraphics-mobipocket/trunk/kdegraphics-mobipocket.install (rev 0) +++ kdegraphics-mobipocket/trunk/kdegraphics-mobipocket.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Modified: kdemultimedia/trunk/PKGBUILD =================================================================== --- kdemultimedia/trunk/PKGBUILD 2011-11-21 22:39:45 UTC (rev 143044) +++ kdemultimedia/trunk/PKGBUILD 2011-11-21 22:57:37 UTC (rev 143045) @@ -38,7 +38,7 @@ pkgdesc='Video Player' depends=('kdebase-runtime') url="http://kde.org/applications/multimedia/dragonplayer/" - install='kdemultimedia.install' + install='kdemultimedia-dragonplayer.install' cd $srcdir/build/dragonplayer make DESTDIR=$pkgdir install cd $srcdir/build/doc/dragonplayer Added: kdemultimedia/trunk/kdemultimedia-dragonplayer.install =================================================================== --- kdemultimedia/trunk/kdemultimedia-dragonplayer.install (rev 0) +++ kdemultimedia/trunk/kdemultimedia-dragonplayer.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Modified: kdesdk/trunk/PKGBUILD =================================================================== --- kdesdk/trunk/PKGBUILD 2011-11-21 22:39:45 UTC (rev 143044) +++ kdesdk/trunk/PKGBUILD 2011-11-21 22:57:37 UTC (rev 143045) @@ -14,13 +14,11 @@ 'kdesdk-kompare' 'kdesdk-kpartloader' 'kdesdk-kprofilemethod' -# 'kdesdk-kspy' 'kdesdk-kstartperf' 'kdesdk-kuiviewer' 'kdesdk-lokalize' 'kdesdk-okteta' 'kdesdk-poxml' -# 'kdesdk-scheck' 'kdesdk-scripts' 'kdesdk-strigi-analyzer' 'kdesdk-umbrello') @@ -35,23 +33,19 @@ source=("http://download.kde.org/unstable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2" 'fix-python2-path.patch') sha1sums=('725ca18c5bbf16061911bde15d98cb0e86db4471' - 'd05ca0231869c484fd3861955d960a60aff7dcfb') + '923cabd7a877cf9a68efeb24fbf3d5827e1d949e') build() { cd ${srcdir}/${pkgbase}-${pkgver} - # Fix python2 path + # Fix hardcoded python2 cmd patch -Np1 -i ${srcdir}/fix-python2-path.patch - sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ - -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ - $(find . -name '*.py') cd ${srcdir} mkdir build cd build cmake ../${pkgbase}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr make } @@ -60,7 +54,7 @@ pkgdesc='CVS Frontend' depends=('kdebase-runtime') url="http://kde.org/applications/development/cervisia/" - install='kdesdk.install' + install='kdesdk-cervisia.install' cd $srcdir/build/cervisia make DESTDIR=$pkgdir install cd $srcdir/build/doc/cervisia @@ -93,11 +87,15 @@ depends=('kdebase-runtime' 'python2') optdepends=('php: PHP support') url="http://kde.org/applications/development/kcachegrind/" - install='kdesdk.install' + install='kdesdk-kcachegrind.install' cd $srcdir/build/kcachegrind make DESTDIR=$pkgdir install cd $srcdir/build/doc/kcachegrind make DESTDIR=$pkgdir install + + # Fix python 2 path + sed -i 's|#!/usr/bin/env python/#!/usr/bin/env python2|' \ + "${pkgdir}"/usr/bin/hotshot2calltree } package_kdesdk-kdeaccounts-plugin() { @@ -117,6 +115,7 @@ package_kdesdk-kioslave() { pkgdesc='KDED Subversion Module' depends=('kdebase-runtime' 'subversion') + install='kdesdk.install' cd $srcdir/build/kioslave make DESTDIR=$pkgdir install } @@ -173,7 +172,7 @@ pkgdesc='Qt Designer UI File Viewer' depends=('kdebase-runtime') url="http://kde.org/applications/development/kuiviewer/" - install='kdesdk.install' + install='kdesdk-kuiviewer.install' cd $srcdir/build/kuiviewer make DESTDIR=$pkgdir install } @@ -183,11 +182,15 @@ depends=('kdebase-runtime' 'kdebindings-python') url="http://kde.org/applications/development/lokalize/" optdepends=('translate-toolkit: enable extra python script') - install='kdesdk.install' + install='kdesdk-lokalize.install' cd $srcdir/build/lokalize make DESTDIR=$pkgdir install cd $srcdir/build/doc/lokalize make DESTDIR=$pkgdir install + + # Fix python 2 path + sed -i 's|#!/usr/bin/env python/#!/usr/bin/env python2|' \ + "${pkgdir}"/usr/share/apps/lokalize/scripts/odf/xliffmerge.py } package_kdesdk-okteta() { @@ -226,6 +229,10 @@ make DESTDIR=$pkgdir install cd $srcdir/build/doc/scripts make DESTDIR=$pkgdir install + + # Fix python 2 path + sed -i 's|#!/usr/bin/env python/#!/usr/bin/env python2|' \ + "${pkgdir}"/usr/bin/{{kde-systemsettings-tree,kdelnk2desktop,zonetab2pot}.py,kde_generate_export_header} } package_kdesdk-strigi-analyzer() { @@ -239,9 +246,13 @@ pkgdesc='UML Modeller' depends=('kdebase-runtime') url="http://kde.org/applications/development/umbrello/" - install='kdesdk.install' + install='kdesdk-umbrello.install' cd $srcdir/build/umbrello make DESTDIR=$pkgdir install cd $srcdir/build/doc/umbrello make DESTDIR=$pkgdir install + + # Fix python 2 path + sed -i 's|#!/usr/bin/env python/#!/usr/bin/env python2|' \ + "${pkgdir}"/usr/share/apps/umbrello/headings/heading.py } Modified: kdesdk/trunk/fix-python2-path.patch =================================================================== --- kdesdk/trunk/fix-python2-path.patch 2011-11-21 22:39:45 UTC (rev 143044) +++ kdesdk/trunk/fix-python2-path.patch 2011-11-21 22:57:37 UTC (rev 143045) @@ -1,11 +1,3 @@ ---- kdesdk-4.5.80/kcachegrind/converters/hotshot2calltree~ 2010-11-24 11:53:38.586666671 +0100 -+++ kdesdk-4.5.80/kcachegrind/converters/hotshot2calltree 2010-11-24 11:53:38.623333337 +0100 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python2 - # _*_ coding: latin1 _*_ - - # --- kdesdk-4.5.80/lokalize/scripts/msgmerge.py~ 2010-11-24 11:22:42.120000002 +0100 +++ kdesdk-4.5.80/lokalize/scripts/msgmerge.py 2010-11-24 11:22:42.146666670 +0100 @@ -114,7 +114,7 @@ @@ -28,14 +20,6 @@ try: convert() except: print 'error occured' ---- kdesdk-4.5.80/scripts/rename_source_files~ 2010-11-24 11:45:41.040000004 +0100 -+++ kdesdk-4.5.80/scripts/rename_source_files 2010-11-24 11:45:41.093333336 +0100 -@@ -1,4 +1,4 @@ --#! /usr/bin/env python -+#! /usr/bin/env python2 - # - # Copyright David Faure <fa...@kde.org>, License LGPL v2 - # --- kdesdk-4.5.80/scripts/svn2log.sh~ 2010-11-24 11:46:24.863333337 +0100 +++ kdesdk-4.5.80/scripts/svn2log.sh 2010-11-24 11:46:24.896666669 +0100 @@ -17,6 +17,6 @@ @@ -45,20 +29,4 @@ -svn log -v --xml $1 | python $CURRENT/svn2log.py --users=/tmp/accounts.$PPID --users-charset=UTF8 +svn log -v --xml $1 | python2 $CURRENT/svn2log.py --users=/tmp/accounts.$PPID --users-charset=UTF8 - rm /tmp/accounts.$PPID ---- kdesdk-4.5.80/scripts/kde_generate_export_header~ 2010-11-24 11:48:49.696666669 +0100 -+++ kdesdk-4.5.80/scripts/kde_generate_export_header 2010-11-24 11:48:49.753333338 +0100 -@@ -1,4 +1,4 @@ --#! /usr/bin/env python -+#! /usr/bin/env python2 - - import os, sys, string - ---- kdesdk-4.5.80/scripts/reviewboarddiff~ 2010-11-24 11:49:37.686666670 +0100 -+++ kdesdk-4.5.80/scripts/reviewboarddiff 2010-11-24 11:49:37.740000003 +0100 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python2 - # encoding: utf-8 - # - # Generates reviewboard compatible diffs from git-svn repositories. + rm /tmp/accounts.$PPID \ No newline at end of file Added: kdesdk/trunk/kdesdk-cervisia.install =================================================================== --- kdesdk/trunk/kdesdk-cervisia.install (rev 0) +++ kdesdk/trunk/kdesdk-cervisia.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Added: kdesdk/trunk/kdesdk-kcachegrind.install =================================================================== --- kdesdk/trunk/kdesdk-kcachegrind.install (rev 0) +++ kdesdk/trunk/kdesdk-kcachegrind.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Added: kdesdk/trunk/kdesdk-kompare.install =================================================================== --- kdesdk/trunk/kdesdk-kompare.install (rev 0) +++ kdesdk/trunk/kdesdk-kompare.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Added: kdesdk/trunk/kdesdk-kuiviewer.install =================================================================== --- kdesdk/trunk/kdesdk-kuiviewer.install (rev 0) +++ kdesdk/trunk/kdesdk-kuiviewer.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Added: kdesdk/trunk/kdesdk-lokalize.install =================================================================== --- kdesdk/trunk/kdesdk-lokalize.install (rev 0) +++ kdesdk/trunk/kdesdk-lokalize.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Added: kdesdk/trunk/kdesdk-umbrello.install =================================================================== --- kdesdk/trunk/kdesdk-umbrello.install (rev 0) +++ kdesdk/trunk/kdesdk-umbrello.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Modified: kdesdk-kate/trunk/kdesdk-kate.install =================================================================== --- kdesdk-kate/trunk/kdesdk-kate.install 2011-11-21 22:39:45 UTC (rev 143044) +++ kdesdk-kate/trunk/kdesdk-kate.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -1,12 +1,13 @@ post_install() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null + xdg-icon-resource forceupdate --theme hicolor &> /dev/null update-desktop-database -q + update-mime-database usr/share/mime } post_upgrade() { - post_install + post_install } post_remove() { - post_install + post_install } Modified: kdeutils-kremotecontrol/trunk/PKGBUILD =================================================================== --- kdeutils-kremotecontrol/trunk/PKGBUILD 2011-11-21 22:39:45 UTC (rev 143044) +++ kdeutils-kremotecontrol/trunk/PKGBUILD 2011-11-21 22:57:37 UTC (rev 143045) @@ -13,6 +13,7 @@ groups=('kde' 'kdeutils') replaces=('kdeutils-kdelirc') conflicts=('kdeutils-kdelirc') +install=${pkgname}.install source=("http://download.kde.org/unstable/${pkgver}/src/kremotecontrol-${pkgver}.tar.bz2") sha1sums=('fae17c72a67fbcd3333815838ff1d934a3fc7c53') Modified: kdeutils-kwallet/trunk/PKGBUILD =================================================================== --- kdeutils-kwallet/trunk/PKGBUILD 2011-11-21 22:39:45 UTC (rev 143044) +++ kdeutils-kwallet/trunk/PKGBUILD 2011-11-21 22:57:37 UTC (rev 143045) @@ -11,6 +11,7 @@ depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') groups=('kde' 'kdeutils') +install=${pkgname}.install source=("http://download.kde.org/unstable/${pkgver}/src/kwallet-${pkgver}.tar.bz2") sha1sums=('ba1fc1e070c8d84af6d8a3e58452854f4b504214') Modified: kdeutils-kwallet/trunk/kdeutils-kwallet.install =================================================================== --- kdeutils-kwallet/trunk/kdeutils-kwallet.install 2011-11-21 22:39:45 UTC (rev 143044) +++ kdeutils-kwallet/trunk/kdeutils-kwallet.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -1,12 +1,12 @@ post_install() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null + xdg-icon-resource forceupdate --theme hicolor &> /dev/null update-desktop-database -q } post_upgrade() { - post_install + post_install } post_remove() { - post_install + post_install } Modified: kdeutils-printer-applet/trunk/PKGBUILD =================================================================== --- kdeutils-printer-applet/trunk/PKGBUILD 2011-11-21 22:39:45 UTC (rev 143044) +++ kdeutils-printer-applet/trunk/PKGBUILD 2011-11-21 22:57:37 UTC (rev 143045) @@ -31,4 +31,8 @@ make DESTDIR=$pkgdir install cd $srcdir/build/doc make DESTDIR=$pkgdir install + + # Fix python 2 path + sed -i 's|#!/usr/bin/env python/#!/usr/bin/env python2|' \ + "${pkgdir}"/usr/share/apps/printer-applet/{authconn,debug,monitor,printer-applet,statereason}.py } Modified: kdewebdev/trunk/PKGBUILD =================================================================== --- kdewebdev/trunk/PKGBUILD 2011-11-21 22:39:45 UTC (rev 143044) +++ kdewebdev/trunk/PKGBUILD 2011-11-21 22:57:37 UTC (rev 143045) @@ -42,7 +42,7 @@ package_kdewebdev-kimagemapeditor() { pkgdesc='HTML Image Map Editor' depends=('kdebase-runtime') - install='kdewebdev.install' + install='kdewebdev-kimagemapeditor.install' cd $srcdir/build/kimagemapeditor make DESTDIR=$pkgdir install cd $srcdir/build/doc/kimagemapeditor Added: kdewebdev/trunk/kdewebdev-kimagemapeditor.install =================================================================== --- kdewebdev/trunk/kdewebdev-kimagemapeditor.install (rev 0) +++ kdewebdev/trunk/kdewebdev-kimagemapeditor.install 2011-11-21 22:57:37 UTC (rev 143045) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}