[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Wed Mar 8 12:23:47 UTC 2017


    Date: Wednesday, March 8, 2017 @ 12:23:47
  Author: arojas
Revision: 290128

community2extra: Moving archlinux-appstream-data from community to extra

Added:
  archlinux-appstream-data/
  archlinux-appstream-data/repos/
  archlinux-appstream-data/trunk/
  archlinux-appstream-data/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Added: archlinux-appstream-data/trunk/PKGBUILD
===================================================================
--- archlinux-appstream-data/trunk/PKGBUILD	                        (rev 0)
+++ archlinux-appstream-data/trunk/PKGBUILD	2017-03-08 12:23:47 UTC (rev 290128)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=archlinux-appstream-data
+pkgver=20170223
+pkgrel=1
+pkgdesc="Arch Linux application database for AppStream-based software centers"
+arch=(any)
+url="http://www.archlinux.org"
+license=(GPL)
+depends=()
+makedepends=()
+source=(https://sources.archlinux.org/other/community/archlinux-appstream-data/$pkgver/{core,extra,community}.xml.gz
+ https://sources.archlinux.org/other/community/archlinux-appstream-data/$pkgver/{core,extra,community}-icons-64x64.tar.gz
+ https://sources.archlinux.org/other/community/archlinux-appstream-data/$pkgver/{core,extra,community}-icons-128x128.tar.gz)
+noextract=({core,extra,community}.xml.gz {core,extra,community}-icons-{64x64,128x128}.tar.gz)
+md5sums=('d2364f9b771d4263fb0a5a0d68ca72d4'
+         '18dbaf8d3e7411ab74b12dfa47bc8c39'
+         '823ebf296e4f8efb74f7efd16439add2'
+         '31f6566d35ccd604be46ed5b1f813cdf'
+         '7058b3567167a0ebe4ae8b29f6a9893e'
+         '7c657dda6e9332f9257d9d2e2316734d'
+         '31f6566d35ccd604be46ed5b1f813cdf'
+         '0e21680520312024f3c1a80428b33e32'
+         '7bf4fc6715ba2ffcb0bada169bf6c6a4')
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/app-info/{icons/archlinux-arch-{core,extra,community}/{64x64,128x128},xmls}
+  for _repo in core extra community; do
+   tar -xzf $_repo-icons-64x64.tar.gz -C "$pkgdir"/usr/share/app-info/icons/archlinux-arch-$_repo/64x64
+   tar -xzf $_repo-icons-128x128.tar.gz -C "$pkgdir"/usr/share/app-info/icons/archlinux-arch-$_repo/128x128
+  done
+  cp *.xml.gz "$pkgdir"/usr/share/app-info/xmls/
+}


Property changes on: archlinux-appstream-data/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property


More information about the arch-commits mailing list