# $Id: PKGBUILD 77764 2010-04-17 16:52:32Z thayer $
# Maintainer: Thayer Williams <thayer@archlinux.org>
# Contributor: James Rayner <james@archlinux.org>

pkgname=tango-icon-theme
pkgver=0.8.90
pkgrel=2
pkgdesc="The Tango Desktop Project exists to create a consistent user experience"
arch=('any')
url="http://tango.freedesktop.org"
license=('custom:ccpl-attribution-sharealike-2.5')
depends=('librsvg')
makedepends=('imagemagick' 'icon-naming-utils' 'intltool' 'python2' 'perl-xml-libxml')
source=(http://tango.freedesktop.org/releases/$pkgname-$pkgver.tar.gz)
md5sums=('0795895d2f20eddcbd2bffe94ed431a6')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr \
              --enable-png-creation
  make || return 1
}
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1

  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" || return 1
}