1 # Contributor: Jib <jbc.as (AT) free.fr>
2 # Last update: 01/26/11
4 pkgname=gnome-theme-tropical
5 _pkgname=tropical-theme
8 pkgdesc="Tropical theme for Gnome."
11 depends=('gtk-engine-murrine>=0.98' 'xcursor-vanilla-dmz')
12 optdepends=('slim-theme-tropical: matching theme for slim login manager')
13 install=tropical.install
14 source=(https://launchpad.net/~bisigi/+archive/ppa/+files/tropical-theme_1.7.1.maverick.ppa2+nmu1.tar.gz
16 url="http://www.bisigi-project.org"
17 md5sums=('0b45cd81dc26396147ced13900a0e016'
18 'b37498861dcd33467a63701f0bb53f4e')
21 cd ${srcdir}/${_pkgname}
23 install -d ${pkgdir}/usr/share/{themes,icons,pixmaps/backgrounds/gnome/nature,gnome-background-properties,emerald/themes,doc/bisigi/tropical}
25 tar -xzf Gtk/tropical.tar.gz -C Gtk/
27 tar -xjf Icons/tropical.tar.bz2 -C Icons/
28 cd Icons/tropical/scalable/actions
29 ln -s system-shutdown-panel.svg system-shutdown.svg
32 mkdir Emerald/tropical
33 tar -xzf Emerald/Tropical.emerald -C Emerald/tropical/
35 patch -Np0 <${srcdir}/tropical.patch
36 cp -R Gtk/tropical/ ${pkgdir}/usr/share/themes/
37 cp -R Icons/tropical/ ${pkgdir}/usr/share/icons
38 install -D -m644 Wallpaper/{Naturelle-leaf.jpg,Naturelle_leaf_4-3.jpg} ${pkgdir}/usr/share/pixmaps/backgrounds/gnome/nature/
39 install -D -m644 Wallpaper/tropical-wallpaper.xml ${pkgdir}/usr/share/gnome-background-properties
40 cp -R Emerald/tropical ${pkgdir}/usr/share/emerald/themes/
41 install -D -m644 credits ${pkgdir}/usr/share/doc/bisigi/tropical/credits.txt