summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/icon-naming-utils/PKGBUILD
blob: 5496c29654ecf4d19360e789f8d19a31e6976deb (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
# $Id: PKGBUILD 33029 2009-04-03 21:35:27Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=icon-naming-utils
pkgver=0.8.90
pkgrel=2
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)
md5sums=('dd8108b56130b9eedc4042df634efa66')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc \
              --libexecdir=/usr/lib/icon-naming-utils \
              --localstatedir=/var || return 1
  make || return 1
}
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1
  mv "${pkgdir}/usr/share/pkgconfig" "${pkgdir}/usr/lib/pkgconfig" || return 1
}