1 # Maintainer: flan_suse <windows2linux AT zoho DOT com>
2 pkgname=xfce-theme-bluebird
6 pkgdesc="A light blue Xfce theme, introduced in the release of Xubuntu 10.10"
8 url="http://shimmerproject.org/projects/bluebird/"
10 groups=('xfce-themes-shimmer-collection')
11 depends=('gtk-engine-murrine')
13 optdepends=('elementary-icons: matching icon set')
17 # Clone git repository
18 git clone "git://github.com/shimmerproject/Bluebird.git"
20 # Change into source directory
23 # Checkout current git-tag release
24 git checkout "v$pkgver"
26 # Remove excess files and return to parent folder
33 # Create installation directories
34 install -d -m755 "${pkgdir}/usr/share/themes/"
35 install -d -m755 "${pkgdir}/usr/share/backgrounds/"
36 install -d -m755 "${pkgdir}/usr/share/xfce4/backdrops/"
38 # Copy the wallpaper to the correct directory, then remove the backdrops folder
39 cp -f "$_pkgname/backdrops/bluebird-2010-08-1920x1440-notext.png" "${pkgdir}/usr/share/backgrounds/$_pkgname.png"
40 rm -rf "$_pkgname/backdrops"
42 # Install the rest of the theme
43 cp -rf "$_pkgname" "${pkgdir}/usr/share/themes/"
45 # Make a symbolic link inside of the Xfce backdrops directory, for use with Desktop Settings
46 cd "${pkgdir}/usr/share/xfce4/backdrops/"
47 ln -s "../../backgrounds/$_pkgname.png" "$_pkgname.png"