updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gnome-theme-wild-shine / PKGBUILD
blob6611244eb0381170914478b697aae1421f722e66
1 # Contributor: Jib <jbc.as (AT) free.fr>
2 # Last update: 01/22/11
4 pkgname=gnome-theme-wild-shine
5 _pkgname=wild-shine-theme
6 pkgver=1.5.1
7 pkgrel=2
8 pkgdesc="Wild-Shine theme for Gnome."
9 arch=(any)
10 license=('GPL')
11 depends=('gtk-engine-murrine>=0.98')
12 optdepends=('slim-theme-wild-shine: matching theme for slim login manager')
13 source=(https://launchpad.net/~bisigi/+archive/ppa/+files/wild-shine-theme_1.5.1.maverick.ppa2+nmu1.tar.gz
14         arch-icon.svg
15         wild-shine.patch)
16 install=('wild-shine.install')
17 url="http://www.bisigi-project.org"
18 md5sums=('11ccb938db9243a8768e1ffdabd42901'
19          '7e749ffb77988ddba93a460942cd7a59' 
20          '02fc600bd2c6f8abe0471298e765e082')
22 package() {
23    cd ${srcdir}/${_pkgname}
24    # install dirs 
25    install -d ${pkgdir}/usr/share/{themes,icons,pixmaps/backgrounds/gnome/nature,gnome-background-properties,emerald/themes,doc/bisigi/wild-shine}
26    tar -xzf Gtk/wild-shine.tar.gz -C Gtk/
27    echo "Unpacking icons..."
28    tar -xjf Icons/wild-shine.tar.bz2 -C Icons/
29    rm -f Icons/wild-shine/index.theme~
30    install -D -m644 ${startdir}/arch-icon.svg Icons/wild-shine/scalable/places/distributor-logo.svg
31    install -D -m644 ${startdir}/arch-icon.svg Icons/wild-shine/scalable/places/gnome-main-menu.svg
32    install -D -m644 ${startdir}/arch-icon.svg Icons/wild-shine/scalable/places/start-here.svg
33    cd Icons/wild-shine/scalable/actions
34    ln -s system-shutdown-panel.svg system-shutdown.svg
35    cd ../../../..
36    mkdir Emerald/wild-shine
37    tar -xzf Emerald/wild_shine.emerald -C Emerald/wild-shine
38    # install
39    patch -Np0 <${srcdir}/wild-shine.patch
40    cp -R Gtk/wild-shine/ ${pkgdir}/usr/share/themes/
41    cp -R Icons/wild-shine/ ${pkgdir}/usr/share/icons
42    install -D -m644 Wallpaper/wild_shine.png ${pkgdir}/usr/share/pixmaps/backgrounds/gnome/nature/
43    install -D -m644 Wallpaper/wild-shine-wallpaper.xml ${pkgdir}/usr/share/gnome-background-properties
44    cp -R Emerald/wild-shine ${pkgdir}/usr/share/emerald/themes/
45    install -D -m644 credits.txt ${pkgdir}/usr/share/doc/bisigi/wild-shine/