[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Tue Apr 25 14:51:58 UTC 2017


    Date: Tuesday, April 25, 2017 @ 14:51:57
  Author: arojas
Revision: 294651

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-04-25 14:51:57 UTC (rev 294651)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=archlinux-appstream-data
+pkgver=20170425
+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=('4e6b4a4e03d5ed6f4914939c86ef69c9'
+         '8646fbdadf57ed93e4bf48a8c7b2fdda'
+         '72478d27d42ed15d9f774af3e9c67062'
+         '31f6566d35ccd604be46ed5b1f813cdf'
+         '84bb8cf842f3246f19e978e3ebce51af'
+         '959515dc18838d9f4fbd99d1dec984ea'
+         '31f6566d35ccd604be46ed5b1f813cdf'
+         '50bfaff5bab40420c53236930784d65a'
+         'd842c646fe684cd083b1b4b3920b26fa')
+
+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