updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / gtk-theme-fear-git / PKGBUILD
blobcb7b7fe32604a7254acdda81fc948ed23154e01d
1 # Maintainer: Thomas Krug <phragment@lavabit.com>
2 pkgname=gtk-theme-fear-git
3 pkgver=20111101
4 pkgrel=2
5 pkgdesc="Matching GTK2 and GTK3 themes"
6 arch=('any')
7 url="http://github.com/schuschu/fear"
8 license=('GPL')
9 depends=('gtk-engine-murrine' 'gtk-engine-unico')
10 makedepends=('git')
12 _gitroot="git://github.com/schuschu/fear.git"
13 _gitname="fear"
15 build() {
16   cd "$srcdir"
17   msg "Connecting to GIT server...."
19   if [ -d $_gitname ] ; then
20     cd $_gitname && git pull origin
21     msg "The local files are updated."
22   else
23     git clone $_gitroot $_gitname
24   fi
26   msg "GIT checkout done or server timeout"
27   msg "Starting make..."
29   rm -rf "$srcdir/$_gitname-build"
30   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31   cd "$srcdir/$_gitname-build"
33   # nothing to build
36 package() {
37   cd "$srcdir/$_gitname-build"
39   mkdir -p ${pkgdir}/usr/share/themes/
40   cp -r Fear/ ${pkgdir}/usr/share/themes/
41