1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
2 pkgname=sunrise-commander-addons
5 pkgdesc="Addons for Sunrise Commander"
6 url="http://www.emacswiki.org/emacs/Sunrise_Commander"
9 depends=('sunrise-commander')
10 _emacs_major_version=$(emacs --version | head -1|cut -b 11,12)
11 source=(http://www.emacswiki.org/emacs/download/sunrise-x-buttons.el \
12 http://www.emacswiki.org/emacs/download/sunrise-x-mirror.el \
13 http://www.emacswiki.org/emacs/download/sunrise-x-popviewer.el \
14 http://www.emacswiki.org/emacs/download/sunrise-x-loop.el \
15 http://www.emacswiki.org/emacs/download/sunrise-x-modeline.el \
16 http://www.emacswiki.org/emacs/download/sunrise-x-tree.el \
17 http://www.emacswiki.org/emacs/download/sunrise-x-checkpoints.el \
18 http://www.emacswiki.org/emacs/download/sunrise-x-old-checkpoints.el)
19 md5sums=('8df5fa244ed33cdaa8df40785a701b59'
20 '13998f92ac08971d27543695102fe987'
21 '3f197f4d07f4f4f7e382bd0e936254d4'
22 'd7770940d30a08040fe2faab1a852cb5'
23 '4224ea3c0af5da20c2d2eb0cbe4d5efb'
24 'badfd2f2aea047975227c7e8c66b8bb1'
25 '8e2e41ff10e5e5d9cf007a247e46e75d'
26 'd9bc45ad832e3b46d29db57bfa77a8b3')
30 if [ ${_emacs_major_version} == 22 ]; then
31 rm sunrise-x-checkpoints.el
33 rm sunrise-x-old-checkpoints.el
37 emacs --batch -q -f batch-byte-compile ${_i}
41 install -d $pkgdir/usr/share/emacs/site-lisp
45 install ${_i} $pkgdir/usr/share/emacs/site-lisp/${_i}
46 install ${_i}c $pkgdir/usr/share/emacs/site-lisp/${_i}c