# $Id: PKGBUILD 4394 2008-07-06 20:12:55Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=icon-naming-utils
pkgver=0.8.90
pkgrel=1
pkgdesc="Maps the new names of icons for Tango to the legacy names used by the GNOME and KDE desktops."
arch=(i686 x86_64)
license=('GPL')
url="http://tango.freedesktop.org/"
depends=('perl-xml-simple')
source=(http://tango.freedesktop.org/releases/${pkgname}-${pkgver}.tar.bz2)

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc \
              --libexecdir=/usr/lib/icon-naming-utils \
	      --localstatedir=/var
  make || return 1
  make DESTDIR=${startdir}/pkg install
  mv ${startdir}/pkg/usr/share/pkgconfig ${startdir}/pkg/usr/lib/pkgconfig
}
md5sums=('dd8108b56130b9eedc4042df634efa66')