diff options
author | root <root@rshg054.dnsready.net> | 2013-05-25 00:28:13 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-25 00:28:13 -0700 |
commit | 2333a0e547f378ad697f35312d6ba6d3fbafb2c8 (patch) | |
tree | cb9c92701c40feb373936bffe4190081f8253170 /pcr/xfce-theme-greybird/PKGBUILD | |
parent | 0520c5091743d9910278e53fa32470b096825fb3 (diff) |
Sat May 25 00:28:12 PDT 2013
Diffstat (limited to 'pcr/xfce-theme-greybird/PKGBUILD')
-rw-r--r-- | pcr/xfce-theme-greybird/PKGBUILD | 75 |
1 files changed, 49 insertions, 26 deletions
diff --git a/pcr/xfce-theme-greybird/PKGBUILD b/pcr/xfce-theme-greybird/PKGBUILD index 0c5f9501d..74f21775e 100644 --- a/pcr/xfce-theme-greybird/PKGBUILD +++ b/pcr/xfce-theme-greybird/PKGBUILD @@ -1,32 +1,55 @@ -# Maintainer: flan_suse +# Maintainer: Limao Luo <luolimao+AUR@gmail.com> +# Contributor: flan_suse + +# This suite contains the following: +# * xfwm4 theme +# * xfwm4 compact theme +# * metacity theme +# * emerald theme +# * gtk2 theme +# * gtk2 theme (classic) +# * gtk3 theme +# * gtk3 theme (classic) +# * unity theme +# * xfce4-notify theme +# * lightdm theme +# * wallpaper (found in the shimmer-wallpapers package; optdepends) + +# There have been some drastic changes as of July 22nd, 2012! +# Please read through the AUR page comments if you wish to learn more. +# I have modified this PKGBUILD to compensate for the drastic changes. + pkgname=xfce-theme-greybird -pkgver=1.0.7 +_pkgname=Greybird +pkgver=1.1.1 +_pkgverclassic=0.8.2 pkgrel=1 -pkgdesc="A grey and blue Xfce theme, introduced in the release of Xubuntu 11.04 and updated for 12.04; includes the classic low saturation theme" -arch=('any') -url="http://shimmerproject.org/projects/greybird/" -license=('GPL2' 'CC-BY-SA-3.0') -groups=('xfce-themes-shimmer-collection') -depends=('gtk-engine-murrine') -optdepends=('shimmer-wallpapers: contains the Greybird wallpaper, among others' - 'gtk3: required for CSS/GTK3 theme' - 'elementary-xfce-icons: matching icon set; use the dark icon theme' - 'lightdm-gtk-greeter: required for the LightDM GTK theme' - 'lightdm-unity-greeter: required for the LightDM Unity theme' - 'gtk-engine-unico: required for gtk3 support for the classic theme; not required for the current theme') -source=($pkgname-$pkgver.tar.gz::https://github.com/shimmerproject/Greybird/tarball/v${pkgver}) +pkgdesc="A grey and blue Xfce theme, used by default in Xubuntu 12.04; includes the classic low saturation theme" +arch=(any) +url=http://shimmerproject.org/projects/greybird/ +license=(CCPL:by-sa-3.0 GPL) +groups=(xfce-themes-shimmer-collection) +depends=(gtk-engine-murrine) +optdepends=('elementary-xfce-icons: matching icon set; use the dark icon theme' + 'gtk-engine-unico: required for gtk3 support for the classic theme; not required for the current theme' + 'gtk3: required for CSS/GTK3 theme' + 'lightdm-gtk-greeter: required for the LightDM GTK theme' + 'lightdm-unity-greeter: required for the LightDM Unity theme' + 'shimmer-wallpapers: contains the Greybird wallpaper, among others') +conflicts=($pkgname-git) +source=($pkgname-$pkgver.tar.gz::https://github.com/shimmerproject/$_pkgname/archive/v$pkgver.tar.gz + $pkgname-$_pkgverclassic.tar.gz::https://github.com/shimmerproject/$_pkgname/archive/v$_pkgverclassic.tar.gz) +sha256sums=('374bc55d6af98ca6052cc5dd6c55db3b1ce9002fe81d3fde3e9b72febe697878' + 'b63da3527760c194bb7299c1cb45297268439740e52e2c5e1f39fc31dce6293a') +sha512sums=('1e4f7dea5e0206972d7d4a5bf42b353abf21e40d215fc1b0e7b546a4c95c7ce0604a37e9f2ad6c272fedf4720d0a5eee732a6b89d83c635c24082c24711c9e5e' + '09f19bbfe02a477de6635198736897d143a5eec8ed13e6d1863c80f5d78b341ecdf2b2cf48bffddead25082eeadde475d360fc7bee773307c5cc10fb3ff90034') package() { - cd "${srcdir}/shimmerproject-Greybird"* - - # Create installation directories - install -d -m755 "${pkgdir}/usr/share/themes/Greybird"{,\ Compact} - - # Install the current theme - cp -a * "${pkgdir}/usr/share/themes/Greybird/" + local _themedir="$pkgdir/usr/share/themes" + install -d "$_themedir/$_pkgname "{Classic,Compact} - # Make a symbolic link for the compact version of the xfwm4 theme - cd "${pkgdir}/usr/share/themes/Greybird Compact" - ln -s "../${_pkgname}/xfwm4_compact" "xfwm4" + cp -rf $_pkgname-$pkgver/ "$_themedir"/$_pkgname/ + rm "$_themedir"/$_pkgname/.gitignore + cp -rf $_pkgname-$_pkgverclassic/gtk-{2,3}.0 "$_themedir/$_pkgname Classic" + ln -s /usr/share/themes/$_pkgname/xfwm4_compact "$_themedir/$_pkgname Compact/xfwm4" } -md5sums=('d7c291408cd644e102cf811ee62e7a37') |