1 # Contributor: Ondrej Kucera <ondrej.kucera@centrum.cz>
3 pkgname=emacs-rinari-mode
6 pkgdesc="Major mode for editing rhtml files in emacs"
8 url="http://rinari.rubyforge.org/"
10 makedepends=("emacs" "git")
15 _gitroot="git://github.com/eschulte/rinari.git"
20 msg "Connecting to GIT server...."
22 if [ -d ${srcdir}/$_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 mkdir -p ${pkgdir}/usr/share/emacs/site-lisp/
36 cp -r ${srcdir}/rinari ${pkgdir}/usr/share/emacs/site-lisp/
38 find . -type d -name .git -prune -exec rm -r "{}" \;
39 find . -name ".git*" -delete