[arch-commits] Commit in deepin-icon-theme/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Aug 17 12:16:41 UTC 2021


    Date: Tuesday, August 17, 2021 @ 12:16:41
  Author: felixonmars
Revision: 1001386

archrelease: copy trunk to community-testing-any

Added:
  deepin-icon-theme/repos/community-testing-any/
  deepin-icon-theme/repos/community-testing-any/PKGBUILD
    (from rev 1001385, deepin-icon-theme/trunk/PKGBUILD)

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

Copied: deepin-icon-theme/repos/community-testing-any/PKGBUILD (from rev 1001385, deepin-icon-theme/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-08-17 12:16:41 UTC (rev 1001386)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-icon-theme
+pkgver=2021.06.09
+pkgrel=1
+pkgdesc="Deepin Icons"
+arch=('any')
+url="https://github.com/linuxdeepin/deepin-icon-theme"
+license=('GPL3')
+depends=('papirus-icon-theme')
+replaces=('deepin-cursor-theme')
+conflicts=('deepin-cursor-theme')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-icon-theme/archive/$pkgver.tar.gz"
+        $pkgname-fix-installation-2021.06.09.patch::https://github.com/linuxdeepin/deepin-icon-theme/pull/23.patch)
+sha512sums=('0aa7b9c76ee7d9b3dbbfca0961d66c47324bbeec5c30f7658c1c99dc1d7898eb3a7dd68339dbc27a857aedf36a5dc2d3178a0dfdc0f429a3ae576eea23eece11'
+            'b45426d9eb2ccc95fb2e06c13db28c28ae8d38b671decbebaaa8195a47cd5c3f83ff69a4b0a2b6378b30b431c5aeaedeac9ab3bc5fd70b8c42da809d25c41664')
+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < $pkgname-fix-installation-2021.06.09.patch
+  sed -i 's/deepin/bloom/g' $pkgname-$pkgver/tools/hicolor.links
+
+  # Broken filenames are not dealt since reported in June 2020. Let's clean them up ourselves.
+  find $pkgname-$pkgver -name "* 2.svg" -delete
+}
+
+build() {
+  cd $pkgname-$pkgver
+  make hicolor-links
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  cp -a ./Sea ./usr/share/icons/hicolor "$pkgdir"/usr/share/icons/
+}



More information about the arch-commits mailing list