updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / gnome-theme-tropical / PKGBUILD
blob623a8096fd16c64f3c3ee6623216f6d66e7be967
1 # Contributor: Jib <jbc.as (AT) free.fr>
2 # Last update: 01/26/11
4 pkgname=gnome-theme-tropical
5 _pkgname=tropical-theme
6 pkgver=1.7.1
7 pkgrel=2
8 pkgdesc="Tropical theme for Gnome."
9 arch=(any)
10 license=('GPL')
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
15         tropical.patch)
16 url="http://www.bisigi-project.org"
17 md5sums=('0b45cd81dc26396147ced13900a0e016'
18          'b37498861dcd33467a63701f0bb53f4e')
20 build() {
21    cd ${srcdir}/${_pkgname}
22    # install dirs
23    install -d ${pkgdir}/usr/share/{themes,icons,pixmaps/backgrounds/gnome/nature,gnome-background-properties,emerald/themes,doc/bisigi/tropical}
24    #GTK theme
25    tar -xzf Gtk/tropical.tar.gz -C Gtk/
26    #Icons theme
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
30    cd ../../../..
31    #Emerald theme
32    mkdir Emerald/tropical
33    tar -xzf Emerald/Tropical.emerald -C Emerald/tropical/
34    # install files
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