blob: c81db90c777f96957d589a443eec1f2544c56d3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Contributor: Hauke Wesselmann <hauke@h-dawg.de>
# Contributor: xgdgsc <xgdgsc at gmail dot com>
# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=emacs-js2-mode
pkgver=20120726
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=(https://js2-mode.googlecode.com/files/js2-mode.el)
build() {
cd $srcdir
emacs -batch -q -f batch-byte-compile js2-mode.el
install -Dm644 $srcdir/js2-mode.el $pkgdir/usr/share/emacs/site-lisp/js2-mode.el
install -Dm644 $srcdir/js2-mode.elc $pkgdir/usr/share/emacs/site-lisp/js2-mode.elc
}
|