1 # Contributor: Johannes Weiner <hannes@saeurebad.de>
2 # Contributor: Daniel Leidisch <spam@leidisch.net>
3 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
9 pkgdesc="The Superior Lisp Interaction Mode for Emacs"
10 url="http://common-lisp.net/project/slime/"
12 makedepends=('cvs' 'awk' 'texlive-core')
13 optdepends=('awk: for recreating the documentation'
14 'texlive-core: for recreating the documentation')
18 install='slime.install'
19 source=(slime-$pkgver.tar.gz::http://common-lisp.net/project/slime/snapshots/slime-current.tgz \
21 md5sums=('091e41d04a4971ccf8a3690b33fd06d0'
22 '1cdfb69afc10f0d0b690884591678081')
25 cd $srcdir/slime-${pkgver//_/-}
27 install -d $pkgdir/usr/share/emacs/site-lisp/slime
28 cp -r $srcdir/slime-${pkgver//_/-}/* \
29 $pkgdir/usr/share/emacs/site-lisp/slime
31 install -d $pkgdir/usr/share/common-lisp/systems
32 ln -s /usr/share/emacs/site-lisp/slime/swank.asd \
33 $pkgdir/usr/share/common-lisp/systems/
35 find $pkgdir -iname "*cvs*" | xargs rm -rf
36 install -D -m644 $srcdir/licenses \
37 $pkgdir/usr/share/licenses/$pkgname/licenses
38 cd $srcdir/slime-${pkgver//_/-}/doc
40 make infodir=$pkgdir/usr/share/info install
41 rm $pkgdir/usr/share/info/dir
42 install -Dm644 slime.pdf $pkgdir/usr/share/doc/slime/slime.pdf
43 install -Dm644 slime-refcard.pdf \
44 $pkgdir/usr/share/doc/slime/slime-refcard.pdf
45 install -d $pkgdir/usr/share/doc/slime/html
46 install -m644 html/* $pkgdir/usr/share/doc/slime/html