1 # Contributor: Stephen Caraher <moskvax@gmail.com>
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
4 pkgname=emacs-gnuplot-mode-cvs
8 pkgdesc="A command-line driven interactive function and data plotting utility with many output formats."
9 url="http://www.gnuplot.info/"
11 depends=('gnuplot-cvs' 'emacs')
13 conflicts=('gnuplot<4.5')
14 install=$pkgname.install
19 _cvsroot=":pserver:anonymous:@gnuplot.cvs.sourceforge.net:/cvsroot/$_cvsmod"
23 msg "Connecting to gnuplot.cvs.sourceforge.net..."
24 if [ -d $_cvsmod/CVS ]; then
25 echo "fetching only new files"
27 cvs -z3 update -d lisp
29 echo "fetching whole branch"
30 cvs -z3 -d$_cvsroot co -D $pkgver -P $_cvsmod/lisp
33 msg "CVS checkout done or server timeout"
35 cd $srcdir/$_cvsmod/lisp
37 automake --add-missing
39 ./configure --prefix=/usr
43 cd $srcdir/$_cvsmod/lisp
44 make DESTDIR=$pkgdir install
45 install -Dm644 dotemacs $pkgdir/usr/share/emacs/site-lisp/dotemacs.gnuplot