updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / gnome-shell-theme-gsmall / PKGBUILD
blobc8782fc8190dcf0c229eb397002670ae8758439f
1 # Author: Solo-Dev <http://solo-dev.deviantart.com/>
2 # Maintainer: foalsrock <foalsrock at gmail dot com>
4 pkgname=gnome-shell-theme-gsmall
5 pkgver=1
6 pkgrel=2
7 pkgdesc="A slimmed down version of the default GNOME Shell theme ."
8 url="http://solo-dev.deviantart.com/art/gSmall-244635459"
9 license=('unknown')
10 arch=('any')
11 depends=('gnome-shell')
12 optdepends=('gnome-shell-extension-user-theme: User Theme extension for GNOME Shell'
13             'gnome-tweak-tool: A tool to customize advanced GNOME 3 options.')
14 source=("http://www.deviantart.com/download/244635459/gsmall_by_solo_dev-d41ndxf.zip"
15         "3.2compat.patch")
16 DLAGENTS=('http::/usr/bin/wget -c -t 3 --waitretry=3 -H -U Mozilla -O %o %u')
17 md5sums=('29eb035f522001f9d1806681332d780a'
18          'd17ebefb2d394eb1938565269d154b5f')
20 package() {
21     mkdir -p "${pkgdir}/usr/share/themes"
22     mv "${srcdir}/gSmall" "${pkgdir}/usr/share/themes/"
24     # small cleanup
25     find "${pkgdir}" \( -name '*.*~' -o -name '*copy*.*' \) -type f -exec rm -f '{}' \;
27     # patch for 3.2
28    patch "${pkgdir}/usr/share/themes/gSmall/gnome-shell/gnome-shell.css" "${srcdir}/3.2compat.patch"