[arch-commits] Commit in deepin-icon-theme/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri May 8 08:23:25 UTC 2020


    Date: Friday, May 8, 2020 @ 08:23:25
  Author: felixonmars
Revision: 625551

upgpkg: deepin-icon-theme 2020.04.13-1

Modified:
  deepin-icon-theme/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-08 08:18:01 UTC (rev 625550)
+++ PKGBUILD	2020-05-08 08:23:25 UTC (rev 625551)
@@ -3,7 +3,7 @@
 # Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
 
 pkgname=deepin-icon-theme
-pkgver=15.12.71
+pkgver=2020.04.13
 pkgrel=1
 pkgdesc="Deepin Icons"
 arch=('any')
@@ -12,9 +12,16 @@
 depends=('papirus-icon-theme')
 replaces=('deepin-cursor-theme')
 conflicts=('deepin-cursor-theme')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-icon-theme/archive/$pkgver.tar.gz")
-sha512sums=('698f6460e056c51fcd6fce7d185351dd6ed0389d6282e7fad0fa8b8b292e0ad53b13d064a0dedac83c1c86ff6999ed1c2b99dc9fc23390a405efcb48c0a8eaf4')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-icon-theme/archive/$pkgver.tar.gz"
+        $pkgname-fix-installation.patch::https://github.com/linuxdeepin/deepin-icon-theme/pull/23.patch)
+sha512sums=('ad10b52cbb8242a2629569daa0ccfa55319a3032285c6688906515e4b6a97fc91dd25e735151b17af2ecab244a216c5e8d0c0c4a00c035b4b98976e9ead0a96d'
+            'de3365adc47d824ae8f527db7b68f568d623bf5f96ab3f511146594aee57db8fd587dc6d2c5639283f620f6f19fa8dd5b789c703dfa7eaf571bd766e397cba23')
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < $pkgname-fix-installation.patch
+  sed -i 's/deepin/bloom/g' $pkgname-$pkgver/tools/hicolor.links
+}
+
 build() {
   cd $pkgname-$pkgver
   make hicolor-links
@@ -22,7 +29,7 @@
 
 package() {
   cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install-icons install-cursors
+  make DESTDIR="$pkgdir" install
 
   cp -a ./Sea ./usr/share/icons/hicolor "$pkgdir"/usr/share/icons/
 }


More information about the arch-commits mailing list