updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / xfce-theme-bluebird / PKGBUILD
blob1de741673d58c4da0ed805f57fc0848b32c1caac
1 # Maintainer: flan_suse <windows2linux AT zoho DOT com>
2 pkgname=xfce-theme-bluebird
3 _pkgname=Bluebird
4 pkgver=0.3.2
5 pkgrel=11
6 pkgdesc="A light blue Xfce theme, introduced in the release of Xubuntu 10.10"
7 arch=('any')
8 url="http://shimmerproject.org/projects/bluebird/"
9 license=('GPL3')
10 groups=('xfce-themes-shimmer-collection')
11 depends=('gtk-engine-murrine')
12 makedepends=('git')
13 optdepends=('elementary-icons: matching icon set')
15 package() {
16     
17     # Clone git repository
18     git clone "git://github.com/shimmerproject/Bluebird.git"
20     # Change into source directory
21     cd "$_pkgname"
23     # Checkout current git-tag release
24     git checkout "v$pkgver"
26     # Remove excess files and return to parent folder
27     rm -f ".gitignore"
28     rm -rf ".git"
29     rm -rf "icons"
30     rm -rf "releases"
31     cd ..
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"