updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / gnome-shell-theme-smooth-inset / PKGBUILD
blob864d403fffd83d83432deb44e86c17eeca6b5467
1 # Maintainer: Gordin <9ordin @t gmail dot com>
2 # Author: half-left <http://half-left.deviantart.com/>
4 pkgname=gnome-shell-theme-smooth-inset
5 pkgver=1.0
6 pkgrel=1
7 pkgdesc="This is a GNOME Shell theme based on the Elementary GTK2 theme."
8 url="http://half-left.deviantart.com/art/GNOME-Shell-Elementary-Luna-251149793"
9 license=('GPLv3' 'LGPLv2')
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/200111295/gnome_shell___smooth_inset_by_half_left-d3b52v3.zip')
15 sha256sums=('5796dbd25da97a9a7e54eb3541201341d9ba90b3c46629a814fe21206c77f0f8')
17 package() {
18   cd "$srcdir/gs-smooth-inset"
20   # License file (Copy and remove)
21   mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
22   install -Dp -m0644 gnome-shell/LICENSE "$pkgdir/usr/share/licenses/$pkgname"
23   rm -rf gnome-shell/LICENSE
25   # Install the theme and remove backup files
26   mkdir -p "$pkgdir/usr/share/themes/Smooth Inset/gnome-shell"
27   install -Dp -m0644 gnome-shell/* "$pkgdir/usr/share/themes/Smooth Inset/gnome-shell"
28   find "$pkgdir" -name *~ -type f -exec rm -f '{}' \;