updated on Tue Jan 17 08:05:08 UTC 2012
[aur-mirror.git] / emacs-elscreen / PKGBUILD
blob2e0fabedf40d826a5139ea5a1db9b0dbc5642d16
1 # Contributor: Ismael Barros (RazZziel) <razielmine@gmail.com>
2 pkgname=emacs-elscreen
3 pkgver=1.4.6
4 pkgrel=2
5 pkgdesc="Frame configuration management for GNU Emacs modelled after GNU Screen"
6 arch=('any')
7 url="http://www.morishima.net/~naoto/software/elscreen/index.php.en"
8 license=('GPL')
9 depends=('emacs')
10 makedepends=('emacs-apel')
11 install=$pkgname.install
12 source=(ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/elscreen-$pkgver.tar.gz)
13         #ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/elscreen-dired-0.1.0.tar.gz
14         #ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/elscreen-dnd-0.0.0.tar.gz
15         #ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/elscreen-gf-1.5.2.tar.gz
16         #ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/elscreen-goby-0.0.0.tar.gz
17         #ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/elscreen-howm-0.1.0.tar.gz
18         #ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/elscreen-server-0.0.1.tar.gz
19         #ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/elscreen-w3m-0.2.2.tar.gz
20         #ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/elscreen-wl-0.7.0.tar.gz)
21 md5sums=('67d6b8913957ccacefef09c549a939fd')
22         #ec9166b97381eab2d0e5388aa3af19d1
23         #fdf3d0063b9e324b3d8b40406daec246
24         #4dc248b63b2496546fbd957298280bc3
25         #dbbfd48fdfea911204203b96475b26c5
26         #4f8400f7180495deac73531988b65afd
27         #888890b114bd05360af1ab8eb76e6f91
28         #2aa6fede182f6a9d29494f5e1f434308
29         #45ca210f9675db231c0b8e72118493d0')
31 build() {
32   cd $startdir/src/elscreen-$pkgver
33   mkdir -p $startdir/pkg/usr/share/emacs/site-lisp
34   emacs --batch --eval '(progn
35                         (push "." load-path)
36                         (byte-compile-file "elscreen.el"))' || return 1
37   cp elscreen.el{,c} $startdir/pkg/usr/share/emacs/site-lisp || return 1
39   modules= #"dired dnd gf goby howm server w3m wl"
40   for module in $modules; do
41     cp ../elscreen-$module-*/elscreen-$module.el . || return 1
42     emacs --batch --eval "(progn
43                           (push \".\" load-path)
44                           (byte-compile-file \"elscreen-$module.el\"))" || return 1
45     cp elscreen-$module.el{,c} $startdir/pkg/usr/share/emacs/site-lisp || return 1
46   done
47