[arch-commits] Commit in plasma-mediacenter/kde-unstable (2 files)

Antonio Rojas arojas at archlinux.org
Sat Mar 5 11:56:12 UTC 2016


    Date: Saturday, March 5, 2016 @ 12:56:12
  Author: arojas
Revision: 260945

Add .install

Added:
  plasma-mediacenter/kde-unstable/plasma-mediacenter.install
Modified:
  plasma-mediacenter/kde-unstable/PKGBUILD

----------------------------+
 PKGBUILD                   |    3 ++-
 plasma-mediacenter.install |   11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-05 11:44:50 UTC (rev 260944)
+++ PKGBUILD	2016-03-05 11:56:12 UTC (rev 260945)
@@ -9,10 +9,11 @@
 arch=(i686 x86_64)
 url="http://community.kde.org/Plasma/Plasma_Media_Center/"
 license=(GPL3)
-depends=(plasma-workspace baloo qt5-multimedia)
+depends=(plasma-workspace baloo hicolor-icon-theme)
 makedepends=(extra-cmake-modules)
 groups=(plasma)
 source=("http://download.kde.org/unstable/plasma/$pkgver/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
 md5sums=('69a69689b8f248a952e9c7c994c4860f')
 
 prepare() {

Added: plasma-mediacenter.install
===================================================================
--- plasma-mediacenter.install	                        (rev 0)
+++ plasma-mediacenter.install	2016-03-05 11:56:12 UTC (rev 260945)
@@ -0,0 +1,11 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list