[arch-commits] Commit in appstream/trunk (3 files)
Antonio Rojas
arojas at archlinux.org
Tue May 3 10:06:23 UTC 2016
Date: Tuesday, May 3, 2016 @ 12:06:23
Author: arojas
Revision: 173528
Modify hook so that it's also triggered by the appstream package itself
Added:
appstream/trunk/update-appstream-index.hook
(from rev 173527, appstream/trunk/update-appstream-db.hook)
Modified:
appstream/trunk/PKGBUILD
Deleted:
appstream/trunk/update-appstream-db.hook
-----------------------------+
PKGBUILD | 8 ++++----
update-appstream-db.hook | 11 -----------
update-appstream-index.hook | 11 +++++++++++
3 files changed, 15 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-03 09:59:01 UTC (rev 173527)
+++ PKGBUILD 2016-05-03 10:06:23 UTC (rev 173528)
@@ -6,7 +6,7 @@
pkgbase=appstream
pkgname=(appstream appstream-qt)
pkgver=0.9.5
-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"
@@ -13,9 +13,9 @@
license=(GPL)
depends=(xapian-core polkit libyaml libxml2 protobuf)
makedepends=(cmake xmlto intltool gobject-introspection python2 docbook-xsl qt5-base)
-source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz" update-appstream-db.hook)
+source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz" update-appstream-index.hook)
sha256sums=('13faec5280fd68be38e6b1094bea9079a1439824023b333bde9884070be9f188'
- '6aced8f86854a3701879333de84cb5a0cc77f345d655a91e1a65f63c459f00dc')
+ '0f93dfa9071e19c90cbad2077e78307c7774fe4da18f9bd2faa50ae7f8941197')
prepare() {
mkdir -p build
@@ -39,7 +39,7 @@
# provided by -qt subpackage
rm -r "$pkgdir"/usr/{include/AppstreamQt,lib/cmake,lib/libAppstreamQt.*}
- install -Dm644 "$srcdir"/update-appstream-db.hook "$pkgdir"/usr/share/libalpm/hooks/update-appstream-db.hook
+ install -Dm644 "$srcdir"/update-appstream-index.hook "$pkgdir"/usr/share/libalpm/hooks/update-appstream-index.hook
}
package_appstream-qt() {
Deleted: update-appstream-db.hook
===================================================================
--- update-appstream-db.hook 2016-05-03 09:59:01 UTC (rev 173527)
+++ update-appstream-db.hook 2016-05-03 10:06:23 UTC (rev 173528)
@@ -1,11 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = usr/share/app-info/xmls/*.xml
-
-[Action]
-Description = Updating the appstream database...
-When = PostTransaction
-Exec = /usr/bin/appstreamcli refresh-index --force
Copied: appstream/trunk/update-appstream-index.hook (from rev 173527, appstream/trunk/update-appstream-db.hook)
===================================================================
--- update-appstream-index.hook (rev 0)
+++ update-appstream-index.hook 2016-05-03 10:06:23 UTC (rev 173528)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/app-info/*.xml
+
+[Action]
+Description = Updating the appstream index...
+When = PostTransaction
+Exec = /usr/bin/appstreamcli refresh-index --force
More information about the arch-commits
mailing list