# Contributor: Hauke Wesselmann # Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres pkgname=emacs-js2-mode pkgver=20090723b pkgrel=1 pkgdesc="An improved JavaScript mode for GNU Emacs" arch=('i686' 'x86_64' 'mips64el') url="http://code.google.com/p/js2-mode/" license=('GPL2') depends=('emacs') source=(http://js2-mode.googlecode.com/files/js2-$pkgver.el) md5sums=('9109dca8b624edb8358fb9938a03d785') build() { cd $startdir/src/ emacs -batch -q -f batch-byte-compile js2-$pkgver.el install -Dm644 $srcdir/js2-$pkgver.el $pkgdir/usr/share/emacs/site-lisp/js2.el install -Dm644 $srcdir/js2-$pkgver.elc $pkgdir/usr/share/emacs/site-lisp/js2.elc }