updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / gnome-theme-ellanna / PKGBUILD
blobfe5c0948f728da6d210554d666bc55df9524f4b6
1 # Contributor: Jib <jbc.as (AT) free.fr>
2 # Last update: 01/27/2011
4 pkgname=gnome-theme-ellanna
5 _pkgname="Ellanna theme"
6 pkgver=1.5.1
7 pkgrel=2
8 pkgdesc="Ellanna theme for Gnome."
9 arch=(any)
10 depends=('gtk-engine-murrine>=0.98' 'xcursor-vanilla-dmz')
11 optdepends=('slim-theme-ellanna: matching theme for slim login manager')
12 license=('GPL')
13 source=(https://launchpad.net/~bisigi/+archive/ppa/+files/ellanna-theme_1.5.1.maverick.ppa2.tar.gz
14         ellanna.patch)
15 install=('ellanna.install')
16 url="http://www.bisigi-project.org"
17 md5sums=('3b1e14ef420494ed6409b8630c530bb2'
18          '43322d5267b314790cb3ab00976516ed')
20 package() {
21    cd ${srcdir}/"$_pkgname"
22    # install dirs
23    install -d ${pkgdir}/usr/share/{themes,icons,pixmaps/backgrounds/gnome/nature,gnome-background-properties,doc/bisigi/ellanna}
24    tar -xzf Gtk/ellanna.tar.gz -C Gtk/
25    echo "Unpacking icons..."
26    tar -xjf Icons/ellanna.tar.bz2 -C Icons/
27    patch -Np0 <${srcdir}/ellanna.patch
28    cp -R Gtk/ellanna/ ${pkgdir}/usr/share/themes/
29    cp -R Icons/ellanna/ ${pkgdir}/usr/share/icons
30    install -D -m644 Wallpaper/ellanna.jpg ${pkgdir}/usr/share/pixmaps/backgrounds/gnome/nature  
31    install -D -m644 Wallpaper/ellanna-wallpaper.xml ${pkgdir}/usr/share/gnome-background-properties
32    install -D -m644 credits.txt ${pkgdir}/usr/share/doc/bisigi/ellanna/