[arch-commits] Commit in appstream/repos (6 files)

Antonio Rojas arojas at archlinux.org
Tue Nov 1 17:44:40 UTC 2016


    Date: Tuesday, November 1, 2016 @ 17:44:39
  Author: arojas
Revision: 194228

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  appstream/repos/community-staging-i686/
  appstream/repos/community-staging-i686/PKGBUILD
    (from rev 194227, appstream/trunk/PKGBUILD)
  appstream/repos/community-staging-i686/update-appstream-index.hook
    (from rev 194227, appstream/trunk/update-appstream-index.hook)
  appstream/repos/community-staging-x86_64/
  appstream/repos/community-staging-x86_64/PKGBUILD
    (from rev 194227, appstream/trunk/PKGBUILD)
  appstream/repos/community-staging-x86_64/update-appstream-index.hook
    (from rev 194227, appstream/trunk/update-appstream-index.hook)

------------------------------------------------------+
 community-staging-i686/PKGBUILD                      |   51 +++++++++++++++++
 community-staging-i686/update-appstream-index.hook   |   11 +++
 community-staging-x86_64/PKGBUILD                    |   51 +++++++++++++++++
 community-staging-x86_64/update-appstream-index.hook |   11 +++
 4 files changed, 124 insertions(+)

Copied: appstream/repos/community-staging-i686/PKGBUILD (from rev 194227, appstream/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-11-01 17:44:39 UTC (rev 194228)
@@ -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.10.3
+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=(libyaml libxml2 glib2 libstemmer)
+makedepends=(cmake xmlto intltool gobject-introspection python2 docbook-xsl qt5-base itstool)
+source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz" update-appstream-index.hook)
+sha256sums=('98dbc4d4fcb30648975d02d47d5d70cfbda51f9372ac1803c76c78dd036aab81'
+            'eb4fcec37d2cbe42ddf13778c21554aba0dcbc789781571a568ea35526496f79')
+
+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-index.hook "$pkgdir"/usr/share/libalpm/hooks/update-appstream-index.hook
+}
+
+package_appstream-qt() {
+  pkgdesc='Qt5 interface for AppStream'
+  depends=(appstream qt5-base)
+
+  cd build/qt
+  make DESTDIR="$pkgdir" install
+}

Copied: appstream/repos/community-staging-i686/update-appstream-index.hook (from rev 194227, appstream/trunk/update-appstream-index.hook)
===================================================================
--- community-staging-i686/update-appstream-index.hook	                        (rev 0)
+++ community-staging-i686/update-appstream-index.hook	2016-11-01 17:44:39 UTC (rev 194228)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/app-info/*
+
+[Action]
+Description = Updating the appstream index...
+When = PostTransaction
+Exec = /usr/bin/appstreamcli refresh-cache --force

Copied: appstream/repos/community-staging-x86_64/PKGBUILD (from rev 194227, appstream/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-11-01 17:44:39 UTC (rev 194228)
@@ -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.10.3
+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=(libyaml libxml2 glib2 libstemmer)
+makedepends=(cmake xmlto intltool gobject-introspection python2 docbook-xsl qt5-base itstool)
+source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz" update-appstream-index.hook)
+sha256sums=('98dbc4d4fcb30648975d02d47d5d70cfbda51f9372ac1803c76c78dd036aab81'
+            'eb4fcec37d2cbe42ddf13778c21554aba0dcbc789781571a568ea35526496f79')
+
+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-index.hook "$pkgdir"/usr/share/libalpm/hooks/update-appstream-index.hook
+}
+
+package_appstream-qt() {
+  pkgdesc='Qt5 interface for AppStream'
+  depends=(appstream qt5-base)
+
+  cd build/qt
+  make DESTDIR="$pkgdir" install
+}

Copied: appstream/repos/community-staging-x86_64/update-appstream-index.hook (from rev 194227, appstream/trunk/update-appstream-index.hook)
===================================================================
--- community-staging-x86_64/update-appstream-index.hook	                        (rev 0)
+++ community-staging-x86_64/update-appstream-index.hook	2016-11-01 17:44:39 UTC (rev 194228)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/app-info/*
+
+[Action]
+Description = Updating the appstream index...
+When = PostTransaction
+Exec = /usr/bin/appstreamcli refresh-cache --force



More information about the arch-commits mailing list