Date: Sunday, June 16, 2019 @ 20:51:57 Author: arojas Revision: 356209
archrelease: copy trunk to extra-x86_64 Added: appstream/repos/extra-x86_64/PKGBUILD (from rev 356208, appstream/trunk/PKGBUILD) appstream/repos/extra-x86_64/update-appstream-cache.hook (from rev 356208, appstream/trunk/update-appstream-cache.hook) Deleted: appstream/repos/extra-x86_64/PKGBUILD appstream/repos/extra-x86_64/update-appstream-cache.hook -----------------------------+ PKGBUILD | 112 +++++++++++++++++++++--------------------- update-appstream-cache.hook | 34 ++++++------ 2 files changed, 73 insertions(+), 73 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-06-16 20:51:38 UTC (rev 356208) +++ PKGBUILD 2019-06-16 20:51:57 UTC (rev 356209) @@ -1,56 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Jameson Pugh <imntr...@gmail.com> -# Contributor: Tim Jester-Pfadt <t.jp<at>gmx.de> - -pkgbase=appstream -pkgname=(appstream appstream-qt) -pkgver=0.12.6 -pkgrel=1 -pkgdesc="Provides a standard for creating app stores across distributions" -arch=(x86_64) -url="https://distributions.freedesktop.org/wiki/AppStream" -license=(GPL) -depends=(libyaml libxml2 libstemmer glib2) -makedepends=(meson xmlto gobject-introspection python2 gtk-doc qt5-tools itstool vala gperf) -source=("https://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz"{,.asc} - update-appstream-cache.hook) -sha256sums=('ab20067036207aa0708608f87d6e2043ec46fad0b55b411eb1f242b8b9ab0d14' - 'SKIP' - 'a6c42e4607ffd7d7dc931d608f1856e2ba7689d4caac0783e7100d86de0f951b') -validpgpkeys=(D33A3F0CA16B0ACC51A60738494C8A5FBF4DECEB) # Matthias Klumpp <matth...@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-cache.hook "$pkgdir"/usr/share/libalpm/hooks/update-appstream-cache.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/extra-x86_64/PKGBUILD (from rev 356208, appstream/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-06-16 20:51:57 UTC (rev 356209) @@ -0,0 +1,56 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Jameson Pugh <imntr...@gmail.com> +# Contributor: Tim Jester-Pfadt <t.jp<at>gmx.de> + +pkgbase=appstream +pkgname=(appstream appstream-qt) +pkgver=0.12.7 +pkgrel=1 +pkgdesc="Provides a standard for creating app stores across distributions" +arch=(x86_64) +url="https://distributions.freedesktop.org/wiki/AppStream" +license=(GPL) +depends=(libyaml libxml2 libstemmer glib2 lmdb) +makedepends=(meson xmlto gobject-introspection gtk-doc qt5-tools itstool vala gperf) +source=("https://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz"{,.asc} + update-appstream-cache.hook) +sha256sums=('696d2f09187a8cdcb1e87a881a9634b5d921f8d24be08e4f41f2bcf11d8b57d5' + 'SKIP' + 'a6c42e4607ffd7d7dc931d608f1856e2ba7689d4caac0783e7100d86de0f951b') +validpgpkeys=(D33A3F0CA16B0ACC51A60738494C8A5FBF4DECEB) # Matthias Klumpp <matth...@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-cache.hook "$pkgdir"/usr/share/libalpm/hooks/update-appstream-cache.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}} +} Deleted: update-appstream-cache.hook =================================================================== --- update-appstream-cache.hook 2019-06-16 20:51:38 UTC (rev 356208) +++ update-appstream-cache.hook 2019-06-16 20:51:57 UTC (rev 356209) @@ -1,17 +0,0 @@ -[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 cache... -When = PostTransaction -Exec = /usr/bin/appstreamcli refresh-cache --force Copied: appstream/repos/extra-x86_64/update-appstream-cache.hook (from rev 356208, appstream/trunk/update-appstream-cache.hook) =================================================================== --- update-appstream-cache.hook (rev 0) +++ update-appstream-cache.hook 2019-06-16 20:51:57 UTC (rev 356209) @@ -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 cache... +When = PostTransaction +Exec = /usr/bin/appstreamcli refresh-cache --force