1 #Maintainer: Nick Vogel <vogelrn+aur@gmail.com>
4 pkgname=emacs-clojure-mode-git
7 pkgdesc="clojure mode for emacs"
8 url="http://clojure.codestuffs.com/"
12 provides=('emacs-clojure-mode')
14 replaces=('emacs-clojure-mode')
16 source=('emacs-clojure-mode-git.install')
17 md5sums=('0e968701d9961a7b9e6d82e586d26250')
18 install=('emacs-clojure-mode-git.install')
20 _gitroot="git://github.com/jochu/clojure-mode"
21 _gitname="clojure-mode"
24 msg "Connecting to github.com GIT server...."
26 if [ -d $startdir/src/$_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
33 msg "GIT checkout done or server timeout"
35 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
36 cd $startdir/src/$_gitname-build
40 # install the directory in emacs site-lisp
41 install -d $pkgdir/usr/share/emacs/site-lisp/$_gitname
43 # install the files in directory created above
44 install -m644 * -t $pkgdir/usr/share/emacs/site-lisp/$_gitname