[arch-commits] Commit in icon-naming-utils/repos (3 files)

Felix Yan felixonmars at archlinux.org
Sat May 16 11:44:15 UTC 2020


    Date: Saturday, May 16, 2020 @ 11:44:15
  Author: felixonmars
Revision: 384338

archrelease: copy trunk to staging-any

Added:
  icon-naming-utils/repos/staging-any/
  icon-naming-utils/repos/staging-any/PKGBUILD
    (from rev 384337, icon-naming-utils/trunk/PKGBUILD)
  icon-naming-utils/repos/staging-any/remove-legacy-calc.patch
    (from rev 384337, icon-naming-utils/trunk/remove-legacy-calc.patch)

--------------------------+
 PKGBUILD                 |   34 ++++++++++++++++++++++++++++++++++
 remove-legacy-calc.patch |   15 +++++++++++++++
 2 files changed, 49 insertions(+)

Copied: icon-naming-utils/repos/staging-any/PKGBUILD (from rev 384337, icon-naming-utils/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 11:44:15 UTC (rev 384338)
@@ -0,0 +1,34 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=icon-naming-utils
+pkgver=0.8.90
+pkgrel=5
+pkgdesc="Maps the new names of icons for Tango to the legacy names used by the GNOME and KDE desktops."
+arch=(any)
+license=('GPL')
+url="http://tango.freedesktop.org/"
+depends=('perl-xml-simple')
+source=(https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz
+        remove-legacy-calc.patch)
+sha256sums=('044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c'
+            '35afd197c9259fe6142c38e34aa5d033b4285188c81218dc918dc0c81a115792')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 -i "$srcdir/remove-legacy-calc.patch"
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+              --libexecdir=/usr/lib/icon-naming-utils \
+	      --localstatedir=/var
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  mv "$pkgdir/usr/share/pkgconfig" "$pkgdir/usr/lib/pkgconfig"
+}

Copied: icon-naming-utils/repos/staging-any/remove-legacy-calc.patch (from rev 384337, icon-naming-utils/trunk/remove-legacy-calc.patch)
===================================================================
--- staging-any/remove-legacy-calc.patch	                        (rev 0)
+++ staging-any/remove-legacy-calc.patch	2020-05-16 11:44:15 UTC (rev 384338)
@@ -0,0 +1,15 @@
+diff -Nur icon-naming-utils-0.8.90.orig/legacy-icon-mapping.xml icon-naming-utils-0.8.90/legacy-icon-mapping.xml
+--- icon-naming-utils-0.8.90.orig/legacy-icon-mapping.xml	2011-06-06 12:18:27.059555925 +0000
++++ icon-naming-utils-0.8.90/legacy-icon-mapping.xml	2011-06-06 12:18:47.709737921 +0000
+@@ -427,11 +427,6 @@
+ 	</icon>
+     </context>
+     <context dir="apps">
+-	<icon name="accessories-calculator">
+-	    <link>gnome-calculator</link>
+-	    <link>kcalc</link>
+-	    <link>calc</link>
+-	</icon>
+ 	<icon name="accessories-character-map">
+ 	    <link>gnome-character-map</link>
+ 	    <link>gucharmap</link>



More information about the arch-commits mailing list