[arch-commits] Commit in appstream/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Wed Aug 30 19:24:26 UTC 2017
Date: Wednesday, August 30, 2017 @ 19:24:25
Author: arojas
Revision: 304362
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
appstream/repos/testing-i686/
appstream/repos/testing-i686/PKGBUILD
(from rev 304361, appstream/trunk/PKGBUILD)
appstream/repos/testing-i686/update-appstream-index.hook
(from rev 304361, appstream/trunk/update-appstream-index.hook)
appstream/repos/testing-x86_64/
appstream/repos/testing-x86_64/PKGBUILD
(from rev 304361, appstream/trunk/PKGBUILD)
appstream/repos/testing-x86_64/update-appstream-index.hook
(from rev 304361, appstream/trunk/update-appstream-index.hook)
--------------------------------------------+
testing-i686/PKGBUILD | 57 +++++++++++++++++++++++++++
testing-i686/update-appstream-index.hook | 17 ++++++++
testing-x86_64/PKGBUILD | 57 +++++++++++++++++++++++++++
testing-x86_64/update-appstream-index.hook | 17 ++++++++
4 files changed, 148 insertions(+)
Copied: appstream/repos/testing-i686/PKGBUILD (from rev 304361, appstream/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-08-30 19:24:25 UTC (rev 304362)
@@ -0,0 +1,57 @@
+# $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.11.4
+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 libstemmer glib2)
+makedepends=(meson xmlto gobject-introspection python2 gtk-doc qt5-base itstool vala)
+source=("https://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz"{,.asc}
+ update-appstream-index.hook)
+sha256sums=('d1458c3266e7a71ac9a80c2412bc3535fcb8e35aac2c7e493ba61c5609e17b09'
+ 'SKIP'
+ 'a08b972b31388efe7edfa6db8dbd6909914bb613dd39b608b1764ed040907f82')
+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-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
+ 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/testing-i686/update-appstream-index.hook (from rev 304361, appstream/trunk/update-appstream-index.hook)
===================================================================
--- testing-i686/update-appstream-index.hook (rev 0)
+++ testing-i686/update-appstream-index.hook 2017-08-30 19:24:25 UTC (rev 304362)
@@ -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 index...
+When = PostTransaction
+Exec = /usr/bin/appstreamcli refresh-cache --force
Copied: appstream/repos/testing-x86_64/PKGBUILD (from rev 304361, appstream/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-08-30 19:24:25 UTC (rev 304362)
@@ -0,0 +1,57 @@
+# $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.11.4
+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 libstemmer glib2)
+makedepends=(meson xmlto gobject-introspection python2 gtk-doc qt5-base itstool vala)
+source=("https://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz"{,.asc}
+ update-appstream-index.hook)
+sha256sums=('d1458c3266e7a71ac9a80c2412bc3535fcb8e35aac2c7e493ba61c5609e17b09'
+ 'SKIP'
+ 'a08b972b31388efe7edfa6db8dbd6909914bb613dd39b608b1764ed040907f82')
+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-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
+ 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/testing-x86_64/update-appstream-index.hook (from rev 304361, appstream/trunk/update-appstream-index.hook)
===================================================================
--- testing-x86_64/update-appstream-index.hook (rev 0)
+++ testing-x86_64/update-appstream-index.hook 2017-08-30 19:24:25 UTC (rev 304362)
@@ -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 index...
+When = PostTransaction
+Exec = /usr/bin/appstreamcli refresh-cache --force
More information about the arch-commits
mailing list