Date: Sunday, February 23, 2014 @ 17:02:28 Author: andrea Revision: 106128
upgpkg: kcm-touchpad 0.9-2 Run xdg-icon-resource in post_install Added: kcm-touchpad/trunk/kcm-touchpad.install Modified: kcm-touchpad/trunk/PKGBUILD ----------------------+ PKGBUILD | 3 ++- kcm-touchpad.install | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-02-23 15:53:44 UTC (rev 106127) +++ PKGBUILD 2014-02-23 16:02:28 UTC (rev 106128) @@ -12,6 +12,7 @@ license=('GPL') depends=('kdebase-workspace' 'xf86-input-synaptics') makedepends=('cmake' 'automoc4' 'xorg-server-devel') +install="${pkgname}.install" source=("https://github.com/sanya-m/kde-touchpad-config/archive/v${pkgver}.tar.gz") md5sums=('2d60b154b60a745a931ded129a6297d6') @@ -21,7 +22,7 @@ build() { cd build - cmake ../${pkgname}-${pkgver} \ + cmake ../kde-touchpad-config-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make Added: kcm-touchpad.install =================================================================== --- kcm-touchpad.install (rev 0) +++ kcm-touchpad.install 2014-02-23 16:02:28 UTC (rev 106128) @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}