1 # Contributor: celticmusicguy (Tony Upton) <celticmusicguy at gmail dot com>
2 pkgname=gnome-backgrounds-simplicity-modern
5 pkgdesc="Modern wallpapers collection from the simplicity-desktop-theme site"
8 url="http://code.google.com/p/simplicity-desktop-theme"
10 source=(http://simplicity-desktop-theme.googlecode.com/files/Modern-Wallpapers.tar.bz2)
11 md5sums=('8a281b459cd0fa5077bcb8aa4df032d5')
16 local pkgdir=$startdir/pkg
17 local bgdir=/usr/share/pixmaps/backgrounds/Simplicity/Modern/
18 local dstdir="${pkgdir}${bgdir}"
20 install -m644 $startdir/src/Modern/* $dstdir
22 # Create GNOME configuration xml file:
23 install -d $pkgdir/usr/share/gnome-background-properties/
24 local xmlfilename=$pkgdir/usr/share/gnome-background-properties/Simplicity-Modern.xml
26 cat > $xmlfilename <<END-OF-MESSAGE
27 <?xml version="1.0" encoding="UTF-8"?>
28 <!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
38 cat >> $xmlfilename <<END-OF-MESSAGE
39 <wallpaper deleted="false">
41 <filename>$bgdir/$i</filename>
42 <options>zoom</options>
48 cat >> $xmlfilename <<END-OF-MESSAGE