Contents of /branches/magellan-next/extras/tango-icon-theme/tango-icon-theme-0.8.90-r2.smage2
Parent Directory | Revision Log
Revision 9524 -
(show annotations)
(download)
Mon Dec 5 16:55:40 2011 UTC (12 years, 9 months ago) by niro
File size: 1360 byte(s)
Mon Dec 5 16:55:40 2011 UTC (12 years, 9 months ago) by niro
File size: 1360 byte(s)
-fixed a typo
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 ${BINDIR}/usr/share/icons/Tango/${i}x${i}/apps/preferences-desktop-keyboard-shortcuts.png \ |
51 | /usr/share/icons/Tango/${i}x${i}/apps/preferences-desktop-keyboard.png || die |
52 | done |
53 | minstallfile ${BINDIR}/usr/share/icons/Tango/scalable/apps/preferences-desktop-keyboard-shortcuts.svg \ |
54 | /usr/share/icons/Tango/scalable/apps/preferences-desktop-keyboard.svg || die |
55 | } |