[arch-commits] Commit in appstream/trunk (PKGBUILD update-appstream-index.hook)

Antonio Rojas arojas at archlinux.org
Tue Nov 8 12:55:36 UTC 2016


    Date: Tuesday, November 8, 2016 @ 12:55:36
  Author: arojas
Revision: 195141

Force cache rebuild on package update

Modified:
  appstream/trunk/PKGBUILD
  appstream/trunk/update-appstream-index.hook

-----------------------------+
 PKGBUILD                    |    4 ++--
 update-appstream-index.hook |    6 ++++++
 2 files changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-11-08 12:42:16 UTC (rev 195140)
+++ PKGBUILD	2016-11-08 12:55:36 UTC (rev 195141)
@@ -6,7 +6,7 @@
 pkgbase=appstream
 pkgname=(appstream appstream-qt)
 pkgver=0.10.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Provides a standard for creating app stores across distributions"
 arch=(i686 x86_64)
 url="http://distributions.freedesktop.org/wiki/AppStream"
@@ -17,7 +17,7 @@
         update-appstream-index.hook)
 sha256sums=('98dbc4d4fcb30648975d02d47d5d70cfbda51f9372ac1803c76c78dd036aab81'
             'SKIP'
-            'eb4fcec37d2cbe42ddf13778c21554aba0dcbc789781571a568ea35526496f79')
+            'a08b972b31388efe7edfa6db8dbd6909914bb613dd39b608b1764ed040907f82')
 validpgpkeys=(D33A3F0CA16B0ACC51A60738494C8A5FBF4DECEB) # Matthias Klumpp <matthias at tenstral.net>
 
 prepare() {

Modified: update-appstream-index.hook
===================================================================
--- update-appstream-index.hook	2016-11-08 12:42:16 UTC (rev 195140)
+++ update-appstream-index.hook	2016-11-08 12:55:36 UTC (rev 195141)
@@ -5,6 +5,12 @@
 Operation = Remove
 Target = usr/share/app-info/*
 
+[Trigger]
+Type = Package
+Operation = Install
+Operation = Upgrade
+Target = appstream
+
 [Action]
 Description = Updating the appstream index...
 When = PostTransaction



More information about the arch-commits mailing list