# $Id$ PNAME="tango-icon-theme" PVER="0.8.90" PBUILD="r2" PCATEGORIE="x11-themes" DESCRIPTION="Tango SVG and PNG icon theme." HOMEPAGE="http://tango.freedesktop.org/" DEPEND=">= x11-themes/hicolor-icon-theme-0.12" SDEPEND=">= dev-util/pkgconfig-0.25 >= sys-devel/gettext-0.18 >= dev-util/intltool-0.41 >= gnome-base/librsvg-2.34 >= media-gfx/imagemagick-6.7 >= x11-misc/icon-naming-utils-0.8.90" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild mtools SRC_URI=( http://tango.freedesktop.org/releases/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2TARBALL="${PNAME}" UP2DATE="updatecmd_freedesktop tango" src_compile() { cd ${SRCDIR} mconfigure --enable-png-creation --enable-icon-framing || die mmake || die } src_install() { cd ${SRCDIR} mbuild_src_install || die # install missing icon local i for i in 16x16 22x22 24x24 32x32 64x64 72x72 96x96 128x128 scalable do minstallfile preferences-desktop-keyboard-shortcuts \ /usr/share/icons/Tango/apps/${i}x${i}/preferences-desktop-keyboard.png || die done }