blob: 49a4cbc04a177a7edc51184bdb81c39df94cf7f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Contributor (Arch): Hauke Wesselmann <hauke@h-dawg.de>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
pkgname=emacs-js2-mode
pkgver=20090723b
pkgrel=1
pkgdesc="An improved JavaScript mode for GNU Emacs"
arch=('i686' 'x86_64')
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
}
|