diff options
-rw-r--r-- | abs/extra/icon-naming-utils/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/abs/extra/icon-naming-utils/PKGBUILD b/abs/extra/icon-naming-utils/PKGBUILD index ce025df..5496c29 100644 --- a/abs/extra/icon-naming-utils/PKGBUILD +++ b/abs/extra/icon-naming-utils/PKGBUILD @@ -1,24 +1,28 @@ -# $Id: PKGBUILD 4394 2008-07-06 20:12:55Z jgc $ +# $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=1 +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) +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 ${startdir}/src/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/icon-naming-utils \ - --localstatedir=/var + --localstatedir=/var || return 1 make || return 1 - make DESTDIR=${startdir}/pkg install - mv ${startdir}/pkg/usr/share/pkgconfig ${startdir}/pkg/usr/lib/pkgconfig } -md5sums=('dd8108b56130b9eedc4042df634efa66') +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install || return 1 + mv "${pkgdir}/usr/share/pkgconfig" "${pkgdir}/usr/lib/pkgconfig" || return 1 +} + |