yochananmarqos

diff archlinux-appstream-data > archlinux-appstream-data-pamac

Oct 11th, 2020
109
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 3,7c3,8
  2. < pkgname=archlinux-appstream-data
  3. < pkgver=20200828
  4. < pkgrel=1
  5. < pkgdesc="Arch Linux application database for AppStream-based software centers"
  6. < arch=(any)
  7. ---
  8. > _pkgname="archlinux-appstream-data"
  9. > pkgname="archlinux-appstream-data-pamac"
  10. > pkgver="20200828"
  11. > pkgrel="3"
  12. > pkgdesc="Arch Linux application database for AppStream-based software centers (Fixed for pamac)"
  13. > arch=("any")
  14. 9c10
  15. < license=(GPL)
  16. ---
  17. > license=("GPL")
  18. 14,19c15,24
  19. < for _repo in core extra community; do
  20. <  source+=($_repo-$pkgver.xml.gz::https://sources.archlinux.org/other/packages/$pkgname/$pkgver/$_repo/Components-x86_64.xml.gz
  21. <           $_repo-icons-48x48-$pkgver.tar.gz::https://sources.archlinux.org/other/packages/$pkgname/$pkgver/$_repo/icons-48x48.tar.gz
  22. <           $_repo-icons-64x64-$pkgver.tar.gz::https://sources.archlinux.org/other/packages/$pkgname/$pkgver/$_repo/icons-64x64.tar.gz
  23. <           $_repo-icons-128x128-$pkgver.tar.gz::https://sources.archlinux.org/other/packages/$pkgname/$pkgver/$_repo/icons-128x128.tar.gz)
  24. <  noextract+=($_repo.xml.gz-$pkgver $_repo-icons-{48x48,64x64,128x128}-$pkgver.tar.gz)
  25. ---
  26. > conflicts=("${_pkgname}")
  27. > provides=("${_pkgname}")
  28. > for _repo in "core" "extra" "community"; do
  29. >     source+=(
  30. >         ${_repo}-${pkgver}.xml.gz::https://sources.archlinux.org/other/packages/${_pkgname}/${pkgver}/${_repo}/Components-x86_64.xml.gz
  31. >         ${_repo}-icons-48x48-${pkgver}.tar.gz::https://sources.archlinux.org/other/packages/${_pkgname}/${pkgver}/${_repo}/icons-48x48.tar.gz
  32. >         ${_repo}-icons-64x64-${pkgver}.tar.gz::https://sources.archlinux.org/other/packages/${_pkgname}/${pkgver}/${_repo}/icons-64x64.tar.gz
  33. >         ${_repo}-icons-128x128-${pkgver}.tar.gz::https://sources.archlinux.org/other/packages/${_pkgname}/${pkgver}/${_repo}/icons-128x128.tar.gz
  34. >     )
  35. >     noextract+=("${_repo}.xml.gz-${pkgver}" ${_repo}-icons-{48x48,64x64,128x128}-${pkgver}.tar.gz)
  36. 21,32c26,39
  37. < sha256sums=('210536675d09bba862e8209195589e52ba5bb164095680a2c5a9c74f99d44cd4'
  38. <             '7989bb311baa38ef545250282aa065d23281c46dfb8faabe4c653487bdbded5c'
  39. <             '8ac73e8357122263cdf646afe3d7fdab2a14991b5437531a0873e3600384dfbc'
  40. <             '7989bb311baa38ef545250282aa065d23281c46dfb8faabe4c653487bdbded5c'
  41. <             '0c6438773c72fb0eaae3564b0cc53e0fcebc11e3a89d7ac0dff244ba1eca9543'
  42. <             '30ace09ca1e89324f1330faeb5a7dafb5b7bd0481be16744f2b716aeb506d7fd'
  43. <             '2a10edf87204588842b8303d77ee4f7b19875932cce4c4e8b0b6163a2faaa5af'
  44. <             'c8e975032d1215c6e0d3fdbff7105b73adf62b65b35616d15352ffdca2b9617f'
  45. <             '8f4b4d6482946bc7861b2a46b89a16dcfebfbef3e523b6a6d5f38cccc74e2f63'
  46. <             '5afa9f21246b07df99621af893fbbf91ed457222241da0d221a2fb3cf0573b54'
  47. <             'd3f60d1c6382f71065a5512a5e623edf0231ab5efc1d98f68c5c4ebb07b1bb87'
  48. <             '07263c7b9f30df590794a4c949fe8d0dca2d4740fd70844024216f3278ccafdc')
  49. ---
  50. > sha256sums=(
  51. >     '210536675d09bba862e8209195589e52ba5bb164095680a2c5a9c74f99d44cd4'
  52. >     '7989bb311baa38ef545250282aa065d23281c46dfb8faabe4c653487bdbded5c'
  53. >     '8ac73e8357122263cdf646afe3d7fdab2a14991b5437531a0873e3600384dfbc'
  54. >     '7989bb311baa38ef545250282aa065d23281c46dfb8faabe4c653487bdbded5c'
  55. >     '0c6438773c72fb0eaae3564b0cc53e0fcebc11e3a89d7ac0dff244ba1eca9543'
  56. >     '30ace09ca1e89324f1330faeb5a7dafb5b7bd0481be16744f2b716aeb506d7fd'
  57. >     '2a10edf87204588842b8303d77ee4f7b19875932cce4c4e8b0b6163a2faaa5af'
  58. >     'c8e975032d1215c6e0d3fdbff7105b73adf62b65b35616d15352ffdca2b9617f'
  59. >     '8f4b4d6482946bc7861b2a46b89a16dcfebfbef3e523b6a6d5f38cccc74e2f63'
  60. >     '5afa9f21246b07df99621af893fbbf91ed457222241da0d221a2fb3cf0573b54'
  61. >     'd3f60d1c6382f71065a5512a5e623edf0231ab5efc1d98f68c5c4ebb07b1bb87'
  62. >     '07263c7b9f30df590794a4c949fe8d0dca2d4740fd70844024216f3278ccafdc'
  63. > )
  64. 35,41c42,51
  65. <   mkdir -p "$pkgdir"/usr/share/app-info/{icons/archlinux-arch-{core,extra,community}/{48x48,64x64,128x128},xmls}
  66. <   for _repo in core extra community; do
  67. <    tar -xzf $_repo-icons-48x48-$pkgver.tar.gz -C "$pkgdir"/usr/share/app-info/icons/archlinux-arch-$_repo/48x48
  68. <    tar -xzf $_repo-icons-64x64-$pkgver.tar.gz -C "$pkgdir"/usr/share/app-info/icons/archlinux-arch-$_repo/64x64
  69. <    tar -xzf $_repo-icons-128x128-$pkgver.tar.gz -C "$pkgdir"/usr/share/app-info/icons/archlinux-arch-$_repo/128x128
  70. <    install -m644 $_repo-$pkgver.xml.gz "$pkgdir"/usr/share/app-info/xmls/$_repo.xml.gz
  71. <   done
  72. ---
  73. >   mkdir -p "${pkgdir}"/usr/share/app-info/{icons/archlinux-arch-{core,extra,community}/{48x48,64x64,128x128},xmls}
  74. >     for _repo in "core" "extra" "community"; do
  75. >         tar -xzf "${_repo}-icons-48x48-${pkgver}.tar.gz" -C "${pkgdir}/usr/share/app-info/icons/archlinux-arch-${_repo}/48x48"
  76. >         tar -xzf "${_repo}-icons-64x64-${pkgver}.tar.gz" -C "${pkgdir}/usr/share/app-info/icons/archlinux-arch-${_repo}/64x64"
  77. >         tar -xzf "${_repo}-icons-128x128-${pkgver}.tar.gz" -C "${pkgdir}/usr/share/app-info/icons/archlinux-arch-${_repo}/128x128"
  78. >         #install -m644 ${_repo}-${pkgver}.xml.gz "$pkgdir"/usr/share/app-info/xmls/${_repo}.xml.gz
  79. >
  80. >         #zcat /usr/share/app-info/xmls/community.xml.gz | sed 's|<em>||g;s|<\/em>||g;' | gzip > "new.xml.gz"
  81. >         zcat "${srcdir}/${_repo}-${pkgver}.xml.gz" | sed 's|<em>||g;s|<\/em>||g;' | gzip > "${pkgdir}/usr/share/app-info/xmls/${_repo}.xml.gz"
  82. >     done
RAW Paste Data