1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: William Rea <sillywilly@gmail.com>
4 pkgname=icon-naming-utils
7 pkgdesc="Maps the new names of icons for Tango to the legacy names used by the GNOME and KDE desktops."
10 url="http://tango.freedesktop.org/"
11 depends=('perl-xml-simple')
12 source=(https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz
13 remove-legacy-calc.patch)
14 sha256sums=('044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c'
15 '35afd197c9259fe6142c38e34aa5d033b4285188c81218dc918dc0c81a115792')
18 cd "$srcdir/$pkgname-$pkgver"
19 patch -Np1 -i "$srcdir/remove-legacy-calc.patch"
23 cd "$srcdir/$pkgname-$pkgver"
24 ./configure --prefix=/usr --sysconfdir=/etc \
25 --libexecdir=/usr/lib/icon-naming-utils \
31 cd "$srcdir/$pkgname-$pkgver"
32 make DESTDIR="$pkgdir" install
33 mv "$pkgdir/usr/share/pkgconfig" "$pkgdir/usr/lib/pkgconfig"