Magellan Linux

Contents of /branches/magellan-next/extras/tango-icon-theme/tango-icon-theme-0.8.90-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9522 - (show annotations) (download)
Mon Dec 5 16:43:44 2011 UTC (12 years, 5 months ago) by niro
File size: 1288 byte(s)
-fixed src_install
1 # $Id$
2
3 PNAME="tango-icon-theme"
4 PVER="0.8.90"
5 PBUILD="r2"
6
7 PCATEGORIE="x11-themes"
8
9 DESCRIPTION="Tango SVG and PNG icon theme."
10 HOMEPAGE="http://tango.freedesktop.org/"
11
12 DEPEND=">= x11-themes/hicolor-icon-theme-0.12"
13
14 SDEPEND=">= dev-util/pkgconfig-0.25
15 >= sys-devel/gettext-0.18
16 >= dev-util/intltool-0.41
17 >= gnome-base/librsvg-2.34
18 >= media-gfx/imagemagick-6.7
19 >= x11-misc/icon-naming-utils-0.8.90"
20
21 SRCFILE="${PNAME}-${PVER}.tar.gz"
22 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23
24 sminclude mbuild mtools
25
26 SRC_URI=(
27 http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE}
28 http://tango.freedesktop.org/releases/${SRCFILE}
29 mirror://${PNAME}/${SRCFILE}
30 )
31
32 UP2TARBALL="${PNAME}"
33 UP2DATE="updatecmd_freedesktop tango"
34
35 src_compile()
36 {
37 cd ${SRCDIR}
38 mconfigure --enable-png-creation --enable-icon-framing || die
39 mmake || die
40 }
41
42 src_install()
43 {
44 cd ${SRCDIR}
45 mbuild_src_install || die
46 # install missing icon
47 local i
48 for i in 16 22 24 32 64 72 96 128
49 do
50 minstallfile ${i}x${i}/preferences-desktop-keyboard-shortcuts.png \
51 /usr/share/icons/Tango/apps/${i}x${i}/preferences-desktop-keyboard.png || die
52 done
53 minstallfile scaleable/preferences-desktop-keyboard-shortcuts.svg \
54 /usr/share/icons/Tango/apps/scaleable/preferences-desktop-keyboard.svg || die
55 }