[arch-commits] Commit in appstream (7 files)
Antonio Rojas
arojas at archlinux.org
Tue May 3 10:15:27 UTC 2016
Date: Tuesday, May 3, 2016 @ 12:15:27
Author: arojas
Revision: 173532
archrelease: copy trunk to community-i686, community-x86_64
Added:
appstream/repos/
appstream/repos/community-i686/
appstream/repos/community-i686/PKGBUILD
(from rev 173531, appstream/trunk/PKGBUILD)
appstream/repos/community-i686/update-appstream-index.hook
(from rev 173531, appstream/trunk/update-appstream-index.hook)
appstream/repos/community-x86_64/
appstream/repos/community-x86_64/PKGBUILD
(from rev 173531, appstream/trunk/PKGBUILD)
appstream/repos/community-x86_64/update-appstream-index.hook
(from rev 173531, appstream/trunk/update-appstream-index.hook)
----------------------------------------------+
community-i686/PKGBUILD | 51 +++++++++++++++++++++++++
community-i686/update-appstream-index.hook | 11 +++++
community-x86_64/PKGBUILD | 51 +++++++++++++++++++++++++
community-x86_64/update-appstream-index.hook | 11 +++++
4 files changed, 124 insertions(+)
Copied: appstream/repos/community-i686/PKGBUILD (from rev 173531, appstream/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD (rev 0)
+++ repos/community-i686/PKGBUILD 2016-05-03 10:15:27 UTC (rev 173532)
@@ -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.5
+pkgrel=3
+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-index.hook)
+sha256sums=('13faec5280fd68be38e6b1094bea9079a1439824023b333bde9884070be9f188'
+ '4f65f9f7facc3e37074dc6532390b075377116d939ce3173654349c39d755e76')
+
+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-i686/update-appstream-index.hook (from rev 173531, appstream/trunk/update-appstream-index.hook)
===================================================================
--- repos/community-i686/update-appstream-index.hook (rev 0)
+++ repos/community-i686/update-appstream-index.hook 2016-05-03 10:15:27 UTC (rev 173532)
@@ -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-index --force
Copied: appstream/repos/community-x86_64/PKGBUILD (from rev 173531, appstream/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2016-05-03 10:15:27 UTC (rev 173532)
@@ -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.5
+pkgrel=3
+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-index.hook)
+sha256sums=('13faec5280fd68be38e6b1094bea9079a1439824023b333bde9884070be9f188'
+ '4f65f9f7facc3e37074dc6532390b075377116d939ce3173654349c39d755e76')
+
+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-x86_64/update-appstream-index.hook (from rev 173531, appstream/trunk/update-appstream-index.hook)
===================================================================
--- repos/community-x86_64/update-appstream-index.hook (rev 0)
+++ repos/community-x86_64/update-appstream-index.hook 2016-05-03 10:15:27 UTC (rev 173532)
@@ -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-index --force
More information about the arch-commits
mailing list