1 # Contributor: Richard Murri <admin@richardmurri.com> (snapshot version)
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
6 pkgdesc="Common Emacs front-end for a number of distributed version control systems (currently arch, bazaar, git, mercurial, monotone)"
8 url="http://download.gna.org/dvc/"
12 provides=('emacs-dvc')
16 _bzrtrunk=http://bzr.xsteve.at/dvc/
20 msg "Connecting to bazaar server"
22 if [ -d dvc/.bzr ]; then
23 msg "fetching only new files"
26 msg "Local repository updated."
30 bzr checkout ${_bzrtrunk}
31 msg "Local repository updated."
33 [ -d dvc-build ] && rm -rf dvc-build
37 ./configure --prefix="$pkgdir"/usr
38 find . -type d -exec sed -i 's+@MKDIR_P@+install+g' {}/Makefile \;
42 cd "$srcdir"/dvc-build
43 install -Dm644 texinfo/dvc.info $pkgdir/usr/share/info/dvc.info
44 install -d $pkgdir/usr/share/emacs/site-lisp/dvc
45 cp lisp/*.{el,elc} $pkgdir/usr/share/emacs/site-lisp/dvc
46 install -d $pkgdir/usr/share/doc/emacs-dvc
47 cp -r docs/* $pkgdir/usr/share/doc/emacs-dvc