1 # Maintainer: flan_suse <windows2linux AT zoho DOT com>
2 pkgname=xfce-theme-albatross
6 pkgdesc="A dark, smooth Xfce theme, introduced in the release of Xubuntu 9.10"
8 url="http://shimmerproject.org/projects/albatross/"
9 license=('GPL3' 'CCPL')
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/Albatross.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
34 # Create installation directories
35 install -d -m755 "${pkgdir}/usr/share/themes/"
36 install -d -m755 "${pkgdir}/usr/share/backgrounds/"
37 install -d -m755 "${pkgdir}/usr/share/xfce4/backdrops/"
39 # Copy the wallpaper to the correct directory, then remove the backdrops folder
40 cp -f "$_pkgname/backdrops/albatross-2009-10.png" "${pkgdir}/usr/share/backgrounds/$_pkgname.png"
41 rm -rf "$_pkgname/backdrops/"
43 # Install the rest of the theme
44 cp -rf "$_pkgname" "${pkgdir}/usr/share/themes/"
46 # Make a symbolic link inside of the Xfce backdrops directory, for use with Desktop Settings
47 cd "${pkgdir}/usr/share/xfce4/backdrops/"
48 ln -s "../../backgrounds/$_pkgname.png" "$_pkgname.png"