Added hicolor-icon-theme-0.10 and its acompannion helper.

--HG--
extra : convert_revision : 885f1c2f7759caa86909aed1831522d44b1e159f
This commit is contained in:
Juan RP 2008-10-11 02:03:45 +02:00
parent 259900136c
commit 6767460858
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#
# This helper updates the GTK's theme icon cache as requested by
# any template.
#
gtkupdate_iconcache_cmd=$PKGFS_MASTERDIR/bin/gtk-update-icon-cache
iconcache_theme_dir=$PKGFS_MASTERDIR/share/icons/hicolor
if [ -x $gtkupdate_iconcache_cmd -a -d $iconcache_theme_dir ]; then
$gtkupdate_iconcache_cmd -f -t $iconcache_theme_dir && \
echo "=> Updated GTK's hicolor icon cache theme."
fi
unset gtkupdate_iconcache_cmd iconcache_theme_dir

View File

@ -0,0 +1,15 @@
# Template build file for 'hicolor-icon-theme'.
pkgname=hicolor-icon-theme
version=0.10
extract_sufx=".tar.gz"
url=http://icon-theme.freedesktop.org/releases
build_style=gnu_configure
make_cmd="$PKGFS_MASTERDIR/bin/gmake"
short_desc="Standard icon theme called hicolor"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=934a935524f1554a4bd462fe203979fd7f0d5846
long_desc="
Default icon theme called hicolor, from freedesktop.org."
# Rebuild icon cache.
postinstall_helpers="gtk-update-icon-cache.sh"