[arch-commits] Commit in appstream/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Tue Aug 30 22:17:09 UTC 2016
Date: Tuesday, August 30, 2016 @ 22:17:08
Author: arojas
Revision: 188080
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 188079, appstream/trunk/PKGBUILD)
appstream/repos/community-staging-i686/update-appstream-index.hook
(from rev 188079, appstream/trunk/update-appstream-index.hook)
appstream/repos/community-staging-x86_64/
appstream/repos/community-staging-x86_64/PKGBUILD
(from rev 188079, appstream/trunk/PKGBUILD)
appstream/repos/community-staging-x86_64/update-appstream-index.hook
(from rev 188079, 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 188079, appstream/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-08-30 22:17:08 UTC (rev 188080)
@@ -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.0
+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 libstemmer)
+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)
+sha256sums=('71e561064522b10039c3f36864cbcbdebb4e94db0500d9c4e92a13760072bbb8'
+ '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 188079, appstream/trunk/update-appstream-index.hook)
===================================================================
--- community-staging-i686/update-appstream-index.hook (rev 0)
+++ community-staging-i686/update-appstream-index.hook 2016-08-30 22:17:08 UTC (rev 188080)
@@ -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 188079, appstream/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-08-30 22:17:08 UTC (rev 188080)
@@ -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.0
+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 libstemmer)
+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)
+sha256sums=('71e561064522b10039c3f36864cbcbdebb4e94db0500d9c4e92a13760072bbb8'
+ '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 188079, 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-08-30 22:17:08 UTC (rev 188080)
@@ -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