2 # Contributor: J. Bromley <jbromley@gmail.com>
3 # $Id: PKGBUILD,v edc696a724f6 2008/07/09 04:20:33 jbromley $
8 pkgdesc="Distributed Emacs Lisp, or, an Emacs-based IDE for Erlang programming"
9 url="http://code.google.com/p/distel/"
10 # The following site seems to be down.
11 #url="http://www.bluetail.com/~luke/distel/"
12 license='Public Domain'
13 arch=('i686' 'x86_64')
14 depends=('emacs' 'erlang')
18 install="$pkgname.install"
19 source=('http://downloads.sourceforge.net/distel/distel-3.3.tar.gz'
21 md5sums=('2a6672c078dcae15573e259296f8a031'
22 '5fa42b4cfd6a3ac5d39670ea444c800a')
25 cd $startdir/src/$pkgname-$pkgver
27 ./configure --prefix=/usr --infodir=/usr/share/info
31 mkdir -p $startdir/pkg/usr/bin
32 mkdir -p $startdir/pkg/usr/share/info
34 cp doc/distel.info $startdir/pkg/usr/share/info/distel
35 gzip $startdir/pkg/usr/share/info/distel
36 make prefix=$startdir/pkg/usr install || return 1
38 cd $startdir/pkg/usr/share/emacs/site-lisp/distel
39 emacs -q --no-site-file -batch -l $startdir/distel-build.el \
40 -f distel-byte-compile-distel
41 # For some reason byte-compiling derl.el causes problems, delete it.
42 rm $startdir/pkg/usr/share/emacs/site-lisp/distel/derl.elc