updated on Wed Jan 18 04:00:29 UTC 2012
[aur-mirror.git] / distel / PKGBUILD
blobcaca9104219bb38e39ac502860bd59490e85a9d8
1 # Distel
2 # Contributor: J. Bromley <jbromley@gmail.com>
3 # $Id: PKGBUILD,v edc696a724f6 2008/07/09 04:20:33 jbromley $
5 pkgname='distel'
6 pkgver=3.3
7 pkgrel=1
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')
15 makedepends=('gzip')
16 conflicts=
17 provides=('distel')
18 install="$pkgname.install"
19 source=('http://downloads.sourceforge.net/distel/distel-3.3.tar.gz'
20         'distel-build.el')
21 md5sums=('2a6672c078dcae15573e259296f8a031'
22          '5fa42b4cfd6a3ac5d39670ea444c800a')
24 build() {
25     cd $startdir/src/$pkgname-$pkgver
27     ./configure --prefix=/usr --infodir=/usr/share/info
28     make || return 1
29     make info || return 1
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
45 # Local variables:
46 # mode: shell-script
47 # End: