[arch-commits] Commit in appstream/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Sun Apr 24 09:05:02 UTC 2016
Date: Sunday, April 24, 2016 @ 11:05:02
Author: arojas
Revision: 171690
archrelease: copy trunk to community-i686, community-x86_64
Added:
appstream/repos/community-i686/PKGBUILD
(from rev 171689, appstream/trunk/PKGBUILD)
appstream/repos/community-i686/update-appstream-db.hook
(from rev 171689, appstream/trunk/update-appstream-db.hook)
appstream/repos/community-x86_64/PKGBUILD
(from rev 171689, appstream/trunk/PKGBUILD)
appstream/repos/community-x86_64/update-appstream-db.hook
(from rev 171689, appstream/trunk/update-appstream-db.hook)
Deleted:
appstream/repos/community-i686/PKGBUILD
appstream/repos/community-x86_64/PKGBUILD
-------------------------------------------+
/PKGBUILD | 102 ++++++++++++++++++++++++++++
community-i686/PKGBUILD | 48 -------------
community-i686/update-appstream-db.hook | 11 +++
community-x86_64/PKGBUILD | 48 -------------
community-x86_64/update-appstream-db.hook | 11 +++
5 files changed, 124 insertions(+), 96 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-04-24 09:04:33 UTC (rev 171689)
+++ community-i686/PKGBUILD 2016-04-24 09:05:02 UTC (rev 171690)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Jameson Pugh <imntreal at gmail.com>
-# Contributor: Tim Jester-Pfadt <t.jp<at>gmx.de>
-
-pkgbase=appstream
-pkgname=(appstream appstream-qt)
-pkgver=0.9.4
-pkgrel=1
-pkgdesc="Provides a standard for creating app stores across distributions"
-arch=(i686 x86_64)
-url="http://distributions.freedesktop.org/wiki/AppStream"
-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")
-sha256sums=('b9ed14e2af7956252b0326661c8b558466a0297560851ba7a35ecb65489c8815')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
-
- cmake ../AppStream-$pkgver \
- -DQT=ON \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_BUILD_TYPE=Release
- make
-}
-
-package_appstream() {
- cd build
-
- make DESTDIR="$pkgdir" install
-
-# provided by -qt subpackage
- rm -r "$pkgdir"/usr/{include/AppstreamQt,lib/cmake,lib/libAppstreamQt.*}
-}
-
-package_appstream-qt() {
- pkgdesc='Qt5 interface for AppStream'
- depends=(appstream qt5-base)
-
- cd build/qt
- make DESTDIR="$pkgdir" install
-}
Copied: appstream/repos/community-i686/PKGBUILD (from rev 171689, appstream/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-04-24 09:05:02 UTC (rev 171690)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+# Contributor: Tim Jester-Pfadt <t.jp<at>gmx.de>
+
+pkgbase=appstream
+pkgname=(appstream appstream-qt)
+pkgver=0.9.4
+pkgrel=2
+pkgdesc="Provides a standard for creating app stores across distributions"
+arch=(i686 x86_64)
+url="http://distributions.freedesktop.org/wiki/AppStream"
+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)
+sha256sums=('b9ed14e2af7956252b0326661c8b558466a0297560851ba7a35ecb65489c8815'
+ '6aced8f86854a3701879333de84cb5a0cc77f345d655a91e1a65f63c459f00dc')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+
+ cmake ../AppStream-$pkgver \
+ -DQT=ON \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package_appstream() {
+ cd build
+
+ make DESTDIR="$pkgdir" install
+
+# 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
+}
+
+package_appstream-qt() {
+ pkgdesc='Qt5 interface for AppStream'
+ depends=(appstream qt5-base)
+
+ cd build/qt
+ make DESTDIR="$pkgdir" install
+}
Copied: appstream/repos/community-i686/update-appstream-db.hook (from rev 171689, appstream/trunk/update-appstream-db.hook)
===================================================================
--- community-i686/update-appstream-db.hook (rev 0)
+++ community-i686/update-appstream-db.hook 2016-04-24 09:05:02 UTC (rev 171690)
@@ -0,0 +1,11 @@
+[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
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-04-24 09:04:33 UTC (rev 171689)
+++ community-x86_64/PKGBUILD 2016-04-24 09:05:02 UTC (rev 171690)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Jameson Pugh <imntreal at gmail.com>
-# Contributor: Tim Jester-Pfadt <t.jp<at>gmx.de>
-
-pkgbase=appstream
-pkgname=(appstream appstream-qt)
-pkgver=0.9.4
-pkgrel=1
-pkgdesc="Provides a standard for creating app stores across distributions"
-arch=(i686 x86_64)
-url="http://distributions.freedesktop.org/wiki/AppStream"
-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")
-sha256sums=('b9ed14e2af7956252b0326661c8b558466a0297560851ba7a35ecb65489c8815')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
-
- cmake ../AppStream-$pkgver \
- -DQT=ON \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_BUILD_TYPE=Release
- make
-}
-
-package_appstream() {
- cd build
-
- make DESTDIR="$pkgdir" install
-
-# provided by -qt subpackage
- rm -r "$pkgdir"/usr/{include/AppstreamQt,lib/cmake,lib/libAppstreamQt.*}
-}
-
-package_appstream-qt() {
- pkgdesc='Qt5 interface for AppStream'
- depends=(appstream qt5-base)
-
- cd build/qt
- make DESTDIR="$pkgdir" install
-}
Copied: appstream/repos/community-x86_64/PKGBUILD (from rev 171689, appstream/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-04-24 09:05:02 UTC (rev 171690)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+# Contributor: Tim Jester-Pfadt <t.jp<at>gmx.de>
+
+pkgbase=appstream
+pkgname=(appstream appstream-qt)
+pkgver=0.9.4
+pkgrel=2
+pkgdesc="Provides a standard for creating app stores across distributions"
+arch=(i686 x86_64)
+url="http://distributions.freedesktop.org/wiki/AppStream"
+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)
+sha256sums=('b9ed14e2af7956252b0326661c8b558466a0297560851ba7a35ecb65489c8815'
+ '6aced8f86854a3701879333de84cb5a0cc77f345d655a91e1a65f63c459f00dc')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+
+ cmake ../AppStream-$pkgver \
+ -DQT=ON \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package_appstream() {
+ cd build
+
+ make DESTDIR="$pkgdir" install
+
+# 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
+}
+
+package_appstream-qt() {
+ pkgdesc='Qt5 interface for AppStream'
+ depends=(appstream qt5-base)
+
+ cd build/qt
+ make DESTDIR="$pkgdir" install
+}
Copied: appstream/repos/community-x86_64/update-appstream-db.hook (from rev 171689, appstream/trunk/update-appstream-db.hook)
===================================================================
--- community-x86_64/update-appstream-db.hook (rev 0)
+++ community-x86_64/update-appstream-db.hook 2016-04-24 09:05:02 UTC (rev 171690)
@@ -0,0 +1,11 @@
+[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
More information about the arch-commits
mailing list