updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / gnome-theme-airlines / PKGBUILD
blobae9bbe3de2d24630954f421deb95abddfbc4a9aa
1 # Contributor: Jib <jbc.as (AT) free.fr>
2 # Last Update: 12/03/10
4 pkgname=gnome-theme-airlines
5 _pkgname=airlines-theme
6 pkgver=1.5.1
7 pkgrel=2
8 pkgdesc="Airlines theme for Gnome."
9 arch=(any)
10 depends=('gtk-engine-murrine>=0.98' 'xcursor-vanilla-dmz')
11 optdepends=('slim-theme-airlines: matching theme for slim login manager')
12 license=('GPL')
13 source=(https://launchpad.net/~bisigi/+archive/ppa/+files/airlines-theme_1.5.1.maverick.ppa2.tar.gz
14         arch-icon-64.svg
15         arch-icon-48.svg
16         arch-icon-24.svg
17         arch-icon-22.svg
18         arch-icon-16.svg
19         airlines.patch)
20 install=('airlines.install')
21 url="http://www.bisigi-project.org"
22 md5sums=('465e43de609135ff1e624dd2d20d4006'
23          '7b6cf784aa57bb00627d6c5671370490'
24          'd9ca3f533d8f1f4d6a39151287694215'
25          '58cf478d63320c2b6dc4671b908cfeb1'
26          '8e7fee479f2712662dbc796dd714bef1'
27          '18b79fde3758cce58d421ba3c2933e1d'
28          '209cbd8b0295dfc34dc5a38663418f09')
30 package() {
31         cd ${srcdir}/${_pkgname}
32         # install dirs
33         install -d ${pkgdir}/usr/share/{themes,icons,backgrounds,gnome-background-properties,doc/bisigi/airlines}
34         
35         #GTK theme
36         tar -xzf Gtk/airlines.tar.gz -C Gtk/
37         #Icons theme
38         echo "Unpacking icons..."
39         tar -xjf Icons/airlines.tar.bz2 -C Icons/
40         local _w=""
41         for _w in {16,22,24,48,64} ; do
42         install -D -m644 ${startdir}/arch-icon-$_w.svg Icons/airlines/places/$_w/start-here.svg
43         done
44     rm -f Icons/airlines/COPYING
45         # install files
46         patch -Np0 <${srcdir}/airlines.patch
47         cp -R Gtk/airlines/ ${pkgdir}/usr/share/themes/
48         cp -R Icons/airlines/ ${pkgdir}/usr/share/icons
49         cp -R Wallpaper/airlines ${pkgdir}/usr/share/backgrounds/
50         install -D -m644 Wallpaper/airlines/airlines-wallpaper.xml ${pkgdir}/usr/share/gnome-background-properties/
51         install -D -m644 credits ${pkgdir}/usr/share/doc/bisigi/airlines/credits.txt