[arch-commits] Commit in appstream/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Jun 1 18:58:34 UTC 2016


    Date: Wednesday, June 1, 2016 @ 20:58:33
  Author: arojas
Revision: 177649

Properly write provides tag

Modified:
  appstream/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-06-01 18:45:42 UTC (rev 177648)
+++ PKGBUILD	2016-06-01 18:58:33 UTC (rev 177649)
@@ -6,7 +6,7 @@
 pkgbase=appstream
 pkgname=(appstream appstream-qt)
 pkgver=0.9.6
-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,12 +13,18 @@
 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-index.hook)
+source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz" update-appstream-index.hook
+        appstream-provides-tag.patch::"https://github.com/ximion/appstream/commit/94da019e.patch")
 sha256sums=('1d1c778b5a0b4c65bdfdcaacf19765f691551118326678c109401dba52c7350f'
-            '4f65f9f7facc3e37074dc6532390b075377116d939ce3173654349c39d755e76')
+            '4f65f9f7facc3e37074dc6532390b075377116d939ce3173654349c39d755e76'
+            '173a2f697af83c43a31acd965da11b7561e7f127bb2d996b2ecb88cd9110f937')
 
 prepare() {
   mkdir -p build
+
+# Properly write provides tag https://github.com/ximion/appstream/issues/44
+  cd AppStream-$pkgver
+  patch -p1 -i ../appstream-provides-tag.patch
 }
 
 build() {



More information about the arch-commits mailing list