2 # Contributor: m039 <flam44 (at) gmail (dot) com>
4 pkgname=emacs-jdibug-svn
7 pkgdesc="Fully Elisp Java Debugger"
8 url="http://code.google.com/p/jdibug/"
11 depends=('emacs' 'cedet')
12 makedepends=('subversion')
13 install=$pkgname.install
15 _svntrunk="http://jdibug.googlecode.com/svn/trunk/"
16 _svnmod="jdibug-read-only"
18 _pkg_emacs=$pkgdir/usr/share/emacs/site-lisp/
19 _pkg_info=$pkgdir/usr/share/info/
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 # cedet-1.0pre7 is a fake for the jdibug Makefile
31 ln -Tfs /usr/share/emacs/site-lisp/cedet/ cedet-1.0pre7
32 # the second fake to trick the Makefile
39 install -d $_pkg_emacs/jdibug
42 tar --strip-components=1 -xjf ./build/jdibug-*.tar.bz2 -C $_pkg_emacs/jdibug
44 install -m644 $_pkg_emacs/jdibug/jdibug.info -t $_pkg_info/