updated on Fri Jan 20 00:01:56 UTC 2012
[aur-mirror.git] / shoktanzsh / PKGBUILD
blob65adc1dcf72ed88553d8f64ae2bd7853a532b8b1
1 #!/bin/sh
2 # Maintainer: Wisthler <wisthler at gmail dot com>
3 pkgname=shoktanzsh
4 pkgver=20100901
5 pkgrel=1
6 pkgdesc="A set of configuration files for the zsh shell"
7 arch=('i686' 'x86_64')
8 url="http://wisthler.tonbnc.fr/blog/archives/2010/08/12/shoktanzsh/"
9 license=('MIT')
10 depends=('zsh' 'figlet' 'archey' 'mpd' 'ncmpcpp' 'mplayer')
11 makedepends=('git')
12 replaces=('')
13 groups=('shoktan-base')
15 _gitroot="git://gitorious.org/zsh-shoktan/zsh-shoktan.git"
16 _gitname="zsh-shoktan"
17 _gitbranche="master"
19 build() {
20 cd "$srcdir"
22 msg2 "Connecting to gitorious ..."
24 if [ -d $_gitname ] ; then
25 ( cd $_gitname && git pull )
26 else
27 git clone -b $_gitbranche $_gitroot $_gitname || return 1
30 #msg2 "Starting installation"
32 #mkdir etc
33 #mv "$_gitname" etc/zsh.d
34 #ln -s etc/zsh.d/zshrc etc/zshrc
36 msg2 "Installation done"
39 package(){
40 cd "$pkgdir"
41 mkdir etc
42 mv "$srcdir/$_gitname" etc/zsh