PKGBUILDs/community/slime-cvs/PKGBUILD

45 lines
1.5 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Contributor: Johannes Weiner <hannes@saeurebad.de>
# Contributor: Daniel Leidisch <spam@leidisch.net>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=slime-cvs
pkgver=20091005
pkgrel=1
arch=('any')
pkgdesc="The Superior Lisp Interaction Mode for Emacs"
url="http://common-lisp.net/project/slime/"
depends=('emacs')
makedepends=('cvs' 'texlive-core')
license=('custom')
conflicts=('slime')
provides=('slime')
install='slime.install'
source=(http://common-lisp.net/project/slime/snapshots/slime-current.tgz \
licenses)
md5sums=('245b4ac68639c391ef720c2213ce5707' '1cdfb69afc10f0d0b690884591678081')
build() {
cd $srcdir/slime-2009-10-05
install -d $pkgdir/usr/share/emacs/site-lisp
cp -r $srcdir/slime-2009-10-05 $pkgdir/usr/share/emacs/site-lisp
install -d $pkgdir/usr/share/common-lisp/systems
ln -s /usr/share/emacs/site-lisp/slime/swank.asd \
$pkgdir/usr/share/common-lisp/systems/
find $pkgdir -iname "*cvs*" | xargs rm -rf
install -D -m644 $srcdir/licenses \
$pkgdir/usr/share/licenses/$pkgname/licenses || return 1
cd $srcdir/slime-2009-10-05/doc
make || return 1
make infodir=$pkgdir/usr/share/info install || return 1
rm $pkgdir/usr/share/info/dir || return 1
install -Dm644 slime.pdf $pkgdir/usr/share/doc/slime/slime.pdf || return 1
install -Dm644 slime-refcard.pdf \
$pkgdir/usr/share/doc/slime/slime-refcard.pdf || return 1
install -d $pkgdir/usr/share/doc/slime/html || return 1
install -m644 html/* $pkgdir/usr/share/doc/slime/html || return 1
}