blob: 7a7aff2a3ca44931d2c2cd226aab9d7bad0df29d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=icon-naming-utils
pkgver=0.8.90
pkgrel=3
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=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz
remove-legacy-calc.patch)
md5sums=('2c5c7a418e5eb3268f65e21993277fba'
'd3490e31df95ae11c96f0af2a9ef2ed0')
build() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i "$srcdir/remove-legacy-calc.patch"
./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"
}
|