[arch-commits] Commit in appstream/repos/extra-x86_64 (4 files)

Antonio Rojas arojas at archlinux.org
Sun Dec 16 21:59:09 UTC 2018


    Date: Sunday, December 16, 2018 @ 21:59:09
  Author: arojas
Revision: 342420

archrelease: copy trunk to extra-x86_64

Added:
  appstream/repos/extra-x86_64/PKGBUILD
    (from rev 342419, appstream/trunk/PKGBUILD)
  appstream/repos/extra-x86_64/update-appstream-cache.hook
    (from rev 342419, appstream/trunk/update-appstream-cache.hook)
Deleted:
  appstream/repos/extra-x86_64/PKGBUILD
  appstream/repos/extra-x86_64/update-appstream-cache.hook

-----------------------------+
 PKGBUILD                    |  117 +++++++++++++++++++++---------------------
 update-appstream-cache.hook |   34 ++++++------
 2 files changed, 78 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-16 21:58:49 UTC (rev 342419)
+++ PKGBUILD	2018-12-16 21:59:09 UTC (rev 342420)
@@ -1,56 +0,0 @@
-# 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.12.3
-pkgrel=1
-pkgdesc="Provides a standard for creating app stores across distributions"
-arch=(x86_64)
-url="http://distributions.freedesktop.org/wiki/AppStream"
-license=(GPL)
-depends=(libyaml libxml2 libstemmer glib2)
-makedepends=(meson xmlto gobject-introspection python2 gtk-doc qt5-tools itstool vala gperf)
-source=("https://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz"{,.asc}
-        update-appstream-cache.hook)
-sha256sums=('203471c479373bcbafe533dbf48c56a6df8e8b00c8fa096ab91029d851898671'
-            'SKIP'
-            'a6c42e4607ffd7d7dc931d608f1856e2ba7689d4caac0783e7100d86de0f951b')
-validpgpkeys=(D33A3F0CA16B0ACC51A60738494C8A5FBF4DECEB) # Matthias Klumpp <matthias at tenstral.net>
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-
-  meson ../AppStream-$pkgver \
-    --prefix=/usr \
-    -Dqt=true \
-    -Dvapi=true
-  ninja
-}
-
-package_appstream() {
-  cd build
-
-  DESTDIR="$pkgdir" ninja install
-
-# provided by -qt subpackage
-  rm -r "$pkgdir"/usr/{include/AppStreamQt,lib/cmake,lib/libAppStreamQt.*}
-
-  install -Dm644 "$srcdir"/update-appstream-cache.hook "$pkgdir"/usr/share/libalpm/hooks/update-appstream-cache.hook
-}
-
-package_appstream-qt() {
-  pkgdesc='Qt5 interface for AppStream'
-  depends=(appstream qt5-base)
-
-  cd build
-  DESTDIR="$pkgdir" ninja install
-
-# provided by appstream
-  rm -r "$pkgdir"{/etc,/usr/{bin,include/appstream,lib/{girepository-1.0,libappstream*,pkgconfig},share}}
-}

Copied: appstream/repos/extra-x86_64/PKGBUILD (from rev 342419, appstream/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-16 21:59:09 UTC (rev 342420)
@@ -0,0 +1,61 @@
+# 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.12.3
+pkgrel=2
+pkgdesc="Provides a standard for creating app stores across distributions"
+arch=(x86_64)
+url="http://distributions.freedesktop.org/wiki/AppStream"
+license=(GPL)
+depends=(libyaml libxml2 libstemmer glib2)
+makedepends=(meson xmlto gobject-introspection python2 gtk-doc qt5-tools itstool vala gperf)
+source=("https://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz"{,.asc}
+        update-appstream-cache.hook
+        https://github.com/ximion/appstream/commit/f199a6de.patch)
+sha256sums=('203471c479373bcbafe533dbf48c56a6df8e8b00c8fa096ab91029d851898671'
+            'SKIP'
+            'a6c42e4607ffd7d7dc931d608f1856e2ba7689d4caac0783e7100d86de0f951b'
+            '022f87e744eb446bc43b552b295c67aa75ad9a77e1553a07055331b1279ae7f6')
+validpgpkeys=(D33A3F0CA16B0ACC51A60738494C8A5FBF4DECEB) # Matthias Klumpp <matthias at tenstral.net>
+
+prepare() {
+  mkdir -p build
+
+  cd AppStream-$pkgver
+  patch -p1 -i ../f199a6de.patch # Don't fail when installing a package with invalid metadata
+}
+
+build() {
+  cd build
+
+  meson ../AppStream-$pkgver \
+    --prefix=/usr \
+    -Dqt=true \
+    -Dvapi=true
+  ninja
+}
+
+package_appstream() {
+  cd build
+
+  DESTDIR="$pkgdir" ninja install
+
+# provided by -qt subpackage
+  rm -r "$pkgdir"/usr/{include/AppStreamQt,lib/cmake,lib/libAppStreamQt.*}
+
+  install -Dm644 "$srcdir"/update-appstream-cache.hook "$pkgdir"/usr/share/libalpm/hooks/update-appstream-cache.hook
+}
+
+package_appstream-qt() {
+  pkgdesc='Qt5 interface for AppStream'
+  depends=(appstream qt5-base)
+
+  cd build
+  DESTDIR="$pkgdir" ninja install
+
+# provided by appstream
+  rm -r "$pkgdir"{/etc,/usr/{bin,include/appstream,lib/{girepository-1.0,libappstream*,pkgconfig},share}}
+}

Deleted: update-appstream-cache.hook
===================================================================
--- update-appstream-cache.hook	2018-12-16 21:58:49 UTC (rev 342419)
+++ update-appstream-cache.hook	2018-12-16 21:59:09 UTC (rev 342420)
@@ -1,17 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = usr/share/app-info/*
-
-[Trigger]
-Type = Package
-Operation = Install
-Operation = Upgrade
-Target = appstream
-
-[Action]
-Description = Updating the appstream cache...
-When = PostTransaction
-Exec = /usr/bin/appstreamcli refresh-cache --force

Copied: appstream/repos/extra-x86_64/update-appstream-cache.hook (from rev 342419, appstream/trunk/update-appstream-cache.hook)
===================================================================
--- update-appstream-cache.hook	                        (rev 0)
+++ update-appstream-cache.hook	2018-12-16 21:59:09 UTC (rev 342420)
@@ -0,0 +1,17 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/app-info/*
+
+[Trigger]
+Type = Package
+Operation = Install
+Operation = Upgrade
+Target = appstream
+
+[Action]
+Description = Updating the appstream cache...
+When = PostTransaction
+Exec = /usr/bin/appstreamcli refresh-cache --force



More information about the arch-commits mailing list