updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / mint-z-theme-git / PKGBUILD
blob229520dded6a3ad64be8315190fd32b51669475e
1 pkgname=mint-z-theme-git
2 pkgver=20111105
3 pkgrel=1
4 pkgdesc="Linux Mint Z theme for Gnome and Gnome-shell from Linux Mint 12 (git version)"
5 arch=('any')
6 url="https://github.com/linuxmint/mint-z-theme"
7 license=('GPL3')
8 depends=('gtk-engine-murrine' 'gtk-engine-unico')
9 makedepends=('git')
11 _gitroot="https://github.com/linuxmint/mint-z-theme.git"
12 _gitname="mint-z-theme"
14 build() {
15     cd ${srcdir}
16     msg "Connecting to the GIT server..."
17     if [[ -d ${srcdir}/${_gitname} ]] ; then
18         cd ${_gitname}
19         git pull origin
20         msg "The local files are updated..."
21     else
22         git clone ${_gitroot} ${_gitname}
23         cd ${_gitname}
24     fi
25     msg "GIT checkout done."
28 package() {
29     cd $srcdir/${_gitname}/
30     cp -r ./usr $pkgdir/